de.grogra.xl.vmx
public final class RoutineDescriptor extends java.lang.Object implements BooleanConsumer, ByteConsumer, ShortConsumer, CharConsumer, IntConsumer, LongConsumer, FloatConsumer, DoubleConsumer, ObjectConsumer, VoidConsumer
RoutineDescriptor are obtained by
VMXState.createDescriptor(Routine, int, Authorization).| Modifier and Type | Method and Description |
|---|---|
void |
consume()
Invokes the associated routine with
no parameters.
|
void |
consume(boolean value)
Invokes the associated routine with
a single
boolean parameter. |
void |
consume(byte value)
Invokes the associated routine with
a single
byte parameter. |
void |
consume(char value)
Invokes the associated routine with
a single
char parameter. |
void |
consume(double value)
Invokes the associated routine with
a single
double parameter. |
void |
consume(float value)
Invokes the associated routine with
a single
float parameter. |
void |
consume(int value)
Invokes the associated routine with
a single
int parameter. |
void |
consume(long value)
Invokes the associated routine with
a single
long parameter. |
void |
consume(java.lang.Object value)
Invokes the associated routine with
a single
Object parameter. |
void |
consume(short value)
Invokes the associated routine with
a single
short parameter. |
void |
dispose()
This method can be used to recycle this instance.
|
AbruptCompletion.Return |
invoke()
Invokes the associated routine.
|
public void consume()
AbruptCompletion.Return with a void type.consume in interface VoidConsumerpublic void consume(boolean value)
boolean parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface BooleanConsumerpublic void consume(byte value)
byte parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface ByteConsumerpublic void consume(char value)
char parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface CharConsumerpublic void consume(double value)
double parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface DoubleConsumerpublic void consume(float value)
float parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface FloatConsumerpublic void consume(int value)
int parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface IntConsumerpublic void consume(long value)
long parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface LongConsumerpublic void consume(java.lang.Object value)
Object parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface ObjectConsumerpublic void consume(short value)
short parameter.
The routine has to return an instance of
AbruptCompletion.Return with a void type.consume in interface ShortConsumerpublic void dispose()
public AbruptCompletion.Return invoke()