org.xmloperator.lambda2.net.impl
Class LongStackImpl

java.lang.Object
  extended byorg.xmloperator.lambda2.net.impl.LongStackImpl
All Implemented Interfaces:
LongStack

public class LongStackImpl
extends java.lang.Object
implements LongStack

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

LongStackImpl

public LongStackImpl()

LongStackImpl

public LongStackImpl(int initialCapacity)
Method Detail

isEmpty

public boolean isEmpty()
Description copied from interface: LongStack
Returns true if this stack is empty, false elsewhere.

Specified by:
isEmpty in interface LongStack
Returns:
true if this stack is empty, false elsewhere.

push

public void push(long value)
Description copied from interface: LongStack
Adds a given Object to the top of this stack.

Specified by:
push in interface LongStack
Parameters:
value - a long value.

pop

public long pop()
Description copied from interface: LongStack
Pops a value at the top of the stack and returns it.

Specified by:
pop in interface LongStack
Returns:
the value at the top of the stack.