|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Stack
A simple stack definition; restrictive in that you cannot access arbitrary stack elements.
| Method Summary | |
|---|---|
int |
height()
|
Object |
pop()
|
void |
push(Object o)
|
Object |
top()
|
| Method Detail |
|---|
int height()
Object pop()
throws NoSuchElementException
NoSuchElementExceptionvoid push(Object o)
Object top()
throws NoSuchElementException
NoSuchElementException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||