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 TypeMethodDescriptiondoublegetDouble(int index) floatgetFloat(int index) intgetInt(int index) longgetLong(int index) getReference(int index) intintgetType(int index) voidincrementInt(int index, int increment) voiddoublefloatpopFloat()intpopInt()longpopLong()voidpushDouble(double value) voidpushFloat(float value) voidpushInt(int value) voidpushLong(long value) voidpushReference(Object value) voidstoreDouble(int index, double value) voidstoreFloat(int index, float value) voidstoreInt(int index, int value) voidstoreLong(int index, long value) voidstoreReference(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
-