public class IntegerStack extends DynamicIntegerArray
capacity, data, size| Constructor and Description |
|---|
IntegerStack() |
| Modifier and Type | Method and Description |
|---|---|
int |
getLast() |
boolean |
isEmpty() |
int |
pop() |
void |
push(int value) |
ensureCapacity, setSize