- peek() - Method in class Stack
-
- peek() - Method in interface StackADT
-
Returns the element from the top of Stack,
without removing it from the stack.
- pop() - Method in class Stack
-
- pop() - Method in interface StackADT
-
Returns and removes the element from the top of Stack,
If the stack is empty, throws java.util.EmptyStackException
- printTree() - Method in class GenealogyTree
-
Print a tree with indent.
- push(T) - Method in class Stack
-
- push(T) - Method in interface StackADT
-
Add the data item to top of the Stack.