Name | Arguments | Description |
empty
| |
Returns true if this stack is empty.
|
get
| index
|
Returns the element at index of the stack, or null if not out bounds.
|
peek
| |
Returns and the top of the stack, or null if the stack is empty.
|
pop
| |
Returns and pops the top of the stack, or null if the stack is empty.
|
push
| value
|
Pushes value onto the top of the stack.
|
size
| |
Returns the size of the stack.
|