public class IntStack extends Object
| Constructor and Description |
|---|
IntStack() |
| Modifier and Type | Method and Description |
|---|---|
int |
get(int i) |
boolean |
isEmpty() |
int |
peek() |
int |
pop()
pop the stack
|
void |
push(int i) |
int |
size() |
public void push(int i)
public int peek()
public int pop()
public boolean isEmpty()
public int size()
public int get(int i)