|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xmloperator.lambda2.net.impl.LongStackImpl
LongStack implementation.
| Constructor Summary | |
LongStackImpl()
|
|
LongStackImpl(int initialCapacity)
|
|
| Method Summary | |
boolean |
isEmpty()
Returns true if this stack is empty, false elsewhere. |
long |
pop()
Pops a value at the top of the stack and returns it. |
void |
push(long 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 LongStackImpl()
public LongStackImpl(int initialCapacity)
| Method Detail |
public boolean isEmpty()
LongStack
isEmpty in interface LongStackpublic void push(long value)
LongStack
push in interface LongStackvalue - a long value.public long pop()
LongStack
pop in interface LongStack
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||