public class FreeMarkerStack
extends java.lang.Object
| Constructor and Description |
|---|
FreeMarkerStack() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
empty()
Returns
true if the stack is empty. |
java.lang.Object |
peek()
Returns the object at the top of the stack, without removing it from the
stack.
|
java.lang.Object |
pop()
Returns the object at the top of the stack, removing it from the stack.
|
java.lang.Object |
push(java.lang.Object object)
Pushes the object onto the stack.
|
public boolean empty()
true if the stack is empty.true if the stack is empty; false
otherwisepublic java.lang.Object peek()
public java.lang.Object pop()
public java.lang.Object push(java.lang.Object object)
object - the item to be pushed onto the stack