Home

Stack

Growable object based stack

Operations

New

Default constructor

New()

Empty

Clears the vector

method : public : Empty() ~ Nil

IsEmpty

Checks to see if the vector is empty

method : public : IsEmpty() ~ Bool
Return
TypeDescription
Booltrue if empty, false otherwise

Pop

Pushes a value from the stack

method : public : native : Pop() ~ Base
Return
TypeDescription
Basepopped valued, Nil if stack is empty

Size

Size of stack

method : public : Size() ~ Int
Return
TypeDescription
Intsize of stack

Top

Check the top of the stack

method : public : native : Top() ~ Base
Return
TypeDescription
Basevalue on the top of stack, Nil if stack is empty