- pop
Removes the value the given number of elements below the top of the stack.
- peek
Returns the value the given number of elements below the top of the stack
without removing it.
- push
Pushes the given value onto the stack. Equivalent to push(0, value).
- size
Returns the number of elements currently on the stack.
- isEmpty
Determines whether the stack is empty.
- clear
Clears all values.
- dup
Duplicates the top value. Equivalent to push(peek()).
- iterator
- poke
Replaces the current top value with the given value. Equivalent to poke(0,
value).
- restoreSnapshot
Restores the stack state as previously returned by #takeSnapshot(). This cost of
running this operat
- swap
Swaps the top two stack values.
- swap3
Reverses the order of the top 3 stack values.