public class Stack<T>
extends java.util.ArrayList<T>
| Constructor and Description |
|---|
Stack() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
T |
peek() |
T |
pop() |
void |
push(T t) |
int |
size() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray, trimToSize