Returns the current filled size of the stack.
Clears the stack.
Returns true if the stack is empty, false otherwise.
Returns the last element from the stack without removing it, returns null if the stack is empty.
Pops the last element from the stack and returns it.
Pushes an element to the stack.
Item to be pushed into the stack.
Returns the available elements in stack as an array.
Returns a stack from the given array, this stack is unlimited in size
Generated using TypeDoc, the 1/4/2022 at 10:37:57 PM
A more practical and useful implementation of a stack which grows as needed. Inherits from BaseStack.