public final class IntegerStack extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<java.lang.Integer> |
l |
| Constructor and Description |
|---|
IntegerStack() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
java.lang.Integer |
pop() |
void |
push(java.lang.Integer x) |
private final java.util.List<java.lang.Integer> l
public IntegerStack()