|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.cs.rainbow.deadlock.StateEngine.EventStackEager
Stack of channel events. Acts to minimise the amount of memory it uses, and as such is suitable for deadlock checkers. INTERNAL USE ONLY
StateEngine.EAGER_POP
Method Summary | |
Enumeration |
elements()
Get an enumeration of all the elements on the stack. |
Enumeration |
elements(int limit)
Get an enumeration of the elements on the stack up to the given point. |
void |
push(StateEngine.ChannelEvent e)
Add an event to the end of the stack. |
void |
setSize(int size)
Set the size of the stack. |
int |
size()
How many events are on the stack? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void push(StateEngine.ChannelEvent e)
StateEngine.EventStack
push
in interface StateEngine.EventStack
public int size()
StateEngine.EventStack
size
in interface StateEngine.EventStack
public void setSize(int size)
StateEngine.EventStack
setSize
in interface StateEngine.EventStack
public Enumeration elements()
StateEngine.EventStack
elements
in interface StateEngine.EventStack
public Enumeration elements(int limit)
StateEngine.EventStack
elements
in interface StateEngine.EventStack
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |