|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStack
| Method Summary | |
|---|---|
void |
clear()
Clear this collection. |
Object |
get(int index)
Return the object at the given index. |
boolean |
isEmpty()
Return true if this collection is empty. |
Object |
peek()
Looks at the object at the top of this stack without removing it from the stack. |
Object |
pop()
Removes the object at the top of this stack and returns that object as the value of this function. |
void |
push(Object object)
Pushes an item onto the top of this stack. |
int |
size()
Return the size of this collection. |
| Method Detail |
|---|
void clear()
Object get(int index)
boolean isEmpty()
Object peek()
Object pop()
void push(Object object)
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |