com.uwyn.rife.continuations
Class ContinuationStack

java.lang.Object
  extended by com.uwyn.rife.continuations.ContinuationStack

public class ContinuationStack
extends Object

[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.6

Method Summary
 ContinuationStack clone(Object elementInstance)
           
 double getDouble(int index)
           
 float getFloat(int index)
           
 int getInt(int index)
           
 long getLong(int index)
           
 Object getReference(int index)
           
 int getType(int index)
           
 void incrementInt(int index, int increment)
           
 void outputState()
           
 double popDouble()
           
 float popFloat()
           
 int popInt()
           
 long popLong()
           
 Object popReference()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public int getType(int index)

popInt

public int popInt()

popLong

public long popLong()

popFloat

public float popFloat()

popDouble

public double popDouble()

popReference

public Object 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

public Object getReference(int index)

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

public void pushReference(Object value)

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

public void storeReference(int index,
                           Object value)

outputState

public void outputState()

clone

public ContinuationStack clone(Object elementInstance)
                        throws CloneNotSupportedException
Throws:
CloneNotSupportedException


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.