public class LoopStack
extends java.lang.Object
Constructor and Description |
---|
LoopStack()
Create a new instance of LoopStack.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addControlLoop(AutoEngineInfo autoInfo)
Add the control loop element if not already on the stack.
|
protected boolean |
isEmpty()
Return true if the loop stack is empty.
|
protected AutoEngineInfo |
peek()
Looks at the object at the top of this stack without removing it from the stack.
|
protected java.lang.Object |
pop()
Removes the object at the top of this stack and returns that object as the value of this function.
|
protected void |
popLastLoop(java.lang.String internalID)
Pop the last control loop element, if the internal ID matches.
|
protected void |
push(AutoEngineInfo item)
Pushes an item onto the top of this stack.
|
protected boolean isEmpty()
protected java.lang.Object pop()
protected AutoEngineInfo peek()
protected void push(AutoEngineInfo item)
item
- the object to add.protected void addControlLoop(AutoEngineInfo autoInfo)
autoInfo
- the info element to add.protected void popLastLoop(java.lang.String internalID)
internalID
- internal ID of the element last evaluated.