Package rife.continuations
Class ContinuationStack
java.lang.Object
rife.continuations.ContinuationStack
[PRIVATE AND UNSUPPORTED] Contains the local state of a continuation.
This needs to be publicly accessible for the instrumented code to be able to interact with it, but it's not supposed to be used directly.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDouble
(int index) float
getFloat
(int index) int
getInt
(int index) long
getLong
(int index) getReference
(int index) int
int
getType
(int index) void
incrementInt
(int index, int increment) void
double
float
popFloat()
int
popInt()
long
popLong()
void
pushDouble
(double value) void
pushFloat
(float value) void
pushInt
(int value) void
pushLong
(long value) void
pushReference
(Object value) void
storeDouble
(int index, double value) void
storeFloat
(int index, float value) void
storeInt
(int index, int value) void
storeLong
(int index, long value) void
storeReference
(int index, Object value)
-
Method Details
-
getType
public int getType(int index) -
popInt
public int popInt() -
popLong
public long popLong() -
popFloat
public float popFloat() -
popDouble
public double popDouble() -
popReference
-
getInt
public int getInt(int index) -
getLong
public long getLong(int index) -
getFloat
public float getFloat(int index) -
getDouble
public double getDouble(int index) -
getReference
-
getReferenceStackSize
public int getReferenceStackSize() -
incrementInt
public void incrementInt(int index, int increment) -
pushInt
public void pushInt(int value) -
pushLong
public void pushLong(long value) -
pushFloat
public void pushFloat(float value) -
pushDouble
public void pushDouble(double value) -
pushReference
-
storeInt
public void storeInt(int index, int value) -
storeLong
public void storeLong(int index, long value) -
storeFloat
public void storeFloat(int index, float value) -
storeDouble
public void storeDouble(int index, double value) -
storeReference
-
outputState
public void outputState() -
clone
- Throws:
CloneNotSupportedException
-