com.phoenixst.collections
public final class SimpleStack extends ArrayList
ArrayList.
Since: 1.0
Version: $Revision: 1.2 $
| Constructor Summary | |
|---|---|
| SimpleStack()
Creates a new SimpleStack. | |
| SimpleStack(Collection collection)
Creates a new SimpleStack. | |
| SimpleStack(int initialCapacity)
Creates a new SimpleStack. | |
| Method Summary | |
|---|---|
| Object | peek()
Return the top element of this SimpleStack. |
| Object | pop()
Pops an object off of this SimpleStack. |
| void | push(Object object)
Pushes an object onto this SimpleStack. |
SimpleStack.SimpleStack.SimpleStack.SimpleStack.SimpleStack.SimpleStack.