org.xmloperator.lambda2.net.model
Interface LongStack

All Known Implementing Classes:
LongStackImpl

public interface LongStack

Stack of long values.


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.
 

Method Detail

isEmpty

public boolean isEmpty()
Returns true if this stack is empty, false elsewhere.

Returns:
true if this stack is empty, false elsewhere.

push

public void push(long value)
Adds a given Object to the top of this stack.

Parameters:
value - a long value.

pop

public long pop()
Pops a value at the top of the stack and returns it.

Returns:
the value at the top of the stack.
Throws:
java.lang.IllegalStateException - if the stack is empty.