com.judoscript.util
Class IntStack

java.lang.Object
  extended by com.judoscript.util.IntStack

public class IntStack
extends java.lang.Object


Constructor Summary
IntStack()
           
IntStack(int initSize, int delta)
           
 
Method Summary
 void clear()
           
 boolean empty()
           
 int get(int i)
           
 int peek()
           
 int pop()
           
 void push(int val)
           
 int size()
           
 int[] toIntArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntStack

public IntStack()

IntStack

public IntStack(int initSize,
                int delta)
Method Detail

empty

public final boolean empty()

clear

public final void clear()

size

public final int size()

push

public void push(int val)

pop

public int pop()
        throws java.util.EmptyStackException
Throws:
java.util.EmptyStackException

peek

public int peek()
         throws java.util.EmptyStackException
Throws:
java.util.EmptyStackException

get

public int get(int i)
        throws java.util.EmptyStackException
Throws:
java.util.EmptyStackException

toIntArray

public int[] toIntArray()