|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.webmacro.util.IntStack
This is a simple unsynchronized stack for the primitive type int
| Constructor Summary | |
IntStack()
|
|
| Method Summary | |
void |
clear()
|
void |
ensureCapacity(int numElems)
|
boolean |
isEmpty()
|
int |
pop()
|
void |
push(int i)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IntStack()
| Method Detail |
public void push(int i)
public int pop()
throws java.util.NoSuchElementException
java.util.NoSuchElementExceptionpublic int size()
public boolean isEmpty()
public void clear()
public void ensureCapacity(int numElems)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||