| |
|
| java.lang.Object org.cougaar.util.StateMachine org.cougaar.util.StackMachine
All known Subclasses: org.cougaar.yp.YPStateMachine,
StackMachine | public class StackMachine extends StateMachine (Code) | | An extension of StackMachine which supports subroutines/functions
|
Inner Class :public static class Frame | |
Inner Class :abstract public static class SState extends State | |
Method Summary | |
protected synchronized Frame | getFrame() | protected synchronized Frame | getFrame(int n) get the frame which is N elements above the current one. | protected synchronized Frame | popFrame() | protected synchronized void | pushFrame(Frame f) | public synchronized Object | searchStack(Object var) | protected synchronized int | stackSize() |
StackMachine | public StackMachine()(Code) | | |
getFrame | protected synchronized Frame getFrame()(Code) | | get the current Frame object *
|
getFrame | protected synchronized Frame getFrame(int n)(Code) | | get the frame which is N elements above the current one.
getFrame(0) == getFrame();
|
popFrame | protected synchronized Frame popFrame()(Code) | | |
pushFrame | protected synchronized void pushFrame(Frame f)(Code) | | |
searchStack | public synchronized Object searchStack(Object var)(Code) | | dynamic binding variable search *
|
stackSize | protected synchronized int stackSize()(Code) | | |
|
|
|