org.jcon.data.performance
Class IntegerStack

java.lang.Object
  extended by org.jcon.data.performance.DynamicIntegerArray
      extended by org.jcon.data.performance.IntegerStack

public class IntegerStack
extends DynamicIntegerArray

A high-performance, direct access stack of integers.


Field Summary
 
Fields inherited from class org.jcon.data.performance.DynamicIntegerArray
capacity, data, size
 
Constructor Summary
IntegerStack()
           
 
Method Summary
 int getLast()
           
 boolean isEmpty()
           
 int pop()
           
 void push(int value)
           
 
Methods inherited from class org.jcon.data.performance.DynamicIntegerArray
ensureCapacity, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerStack

public IntegerStack()
Method Detail

isEmpty

public boolean isEmpty()

pop

public int pop()

push

public void push(int value)

getLast

public int getLast()