Example usage for Java org.apache.commons.collections ArrayStack fields, constructors, methods, implement or subclass
The text is from its open source code.
ArrayStack() Constructs a new empty ArrayStack . |
boolean | isEmpty() Returns true if this list contains no elements. |
Object | peek() Returns the top item off of this stack without removing it. |
Object | pop() Pops the top item off of this stack and return it. |
Object | push(Object item) Pushes a new item onto the top of this stack. |
int | size() Returns the number of elements in this list. |