com.judoscript.util
Class IntStack
java.lang.Object
com.judoscript.util.IntStack
public class IntStack
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntStack
public IntStack()
IntStack
public IntStack(int initSize,
int delta)
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()