|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Stack
Method Summary | |
---|---|
java.lang.Object |
pop()
estrae l'oggetto in cima alla pila |
void |
push(java.lang.Object obj)
inserisce un oggetto in cima alla pila |
java.lang.Object |
top()
ispeziona l'oggetto in cima alla pila |
Methods inherited from interface Container |
---|
isEmpty, makeEmpty, size |
Method Detail |
---|
void push(java.lang.Object obj)
obj
- oggetto da inserirejava.lang.Object pop() throws EmptyStackException
EmptyStackException
java.lang.Object top() throws EmptyStackException
EmptyStackException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |