- setElement(E) - Method in class lab.util.Node
-
Set the data element stored in this node.
- setNext(Node<E>) - Method in class lab.util.Node
-
Set the next node in the sequence.
- size() - Method in class lab.util.Stack
-
Get the size (number of elements) in the stack.
- Stack<E> - Class in lab.util
-
A stack data structure that supports O(1) push and pop operations at the top
of the stack.
- Stack() - Constructor for class lab.util.Stack
-
Creates an empty stack (size equal to zero).