Stack
Very minimal replacement for the SDK Stack implementation that was deprecated in Scala 2.12
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
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.
Attributes
Indicates whether this stack is empty.
Indicates whether this stack is empty.
Attributes
Indicates whether this stack contains at least one element.
Indicates whether this stack contains at least one element.
Attributes
Returns the top element and removes it from the Stack.
Returns the top element and removes it from the Stack.
Attributes
Pushes the specified element to the top the Stack.
Pushes the specified element to the top the Stack.
Attributes
Returns the top element without modifying the Stack.
Returns the top element without modifying the Stack.