All current elements in this stack, with the top element returned as the first element.
All current elements in this stack, with the top element returned as the first element.
This is an immutable List.
Indicates whether this stack is empty.
Indicates whether this stack contains at least one element.
Returns the top element and removes it from the Stack.
Pushes the specified element to the top the Stack.
Returns the top element without modifying the Stack.
Very minimal replacement for the SDK Stack implementation that was deprecated in Scala 2.12