A stack of elements.
This class is generic, which means one type is generated for each type parameter T on static targets. For example:
new GenericStack<Int>()
generatesGenericStack_Int
new GenericStack<String>()
generatesGenericStack_String
The generated name is an implementation detail and should not be relied upon.
See also:
Constructor
Variables
Methods
inlinefirst():Null<T>
Returns the topmost stack element without removing it.
If the stack is empty, null is returned.
inlinepop():Null<T>
Returns the topmost stack element and removes it.
If the stack is empty, null is returned.