|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmloperator.lambda2.net.impl.IntStackImpl
IntStack implementation.
Constructor Summary | |
IntStackImpl()
|
|
IntStackImpl(int initialCapacity)
|
Method Summary | |
boolean |
isEmpty()
Returns true if this stack is empty, false elsewhere. |
int |
pop()
Pops a value at the top of the stack and returns it. |
void |
push(int value)
Adds a given Object to the top of this stack. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IntStackImpl()
public IntStackImpl(int initialCapacity)
Method Detail |
public boolean isEmpty()
IntStack
isEmpty
in interface IntStack
public void push(int value)
IntStack
push
in interface IntStack
value
- an integer.public int pop()
IntStack
pop
in interface IntStack
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |