|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public int height()
public Object pop() throws NoSuchElementException
NoSuchElementException
public void push(Object o)
public Object top() throws NoSuchElementException
NoSuchElementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |