Returns the max allowed size of the stack.
Returns the current filled size of the stack.
Clears the stack.
Returns true if the stack is empty, false otherwise.
Returns true if the stack is full, 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, optionally with a max siz
(optional) Maximum size of the stack.
Generated using TypeDoc, the 1/4/2022 at 10:37:56 PM
A classic implementation of Stack that is limited to the size it's given at the initialization. Inherits from BaseStack.