|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Basic interface for a stack of integers. Implementors must do all the work.
| Method Summary | |
int |
pop()
Pops the topmost item from the stack. |
void |
push(int item)
Pushes an item onto the stack. |
| Method Detail |
public void push(int item)
item - the thing to be pushedpublic int pop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||