gnu.jel
Class IntegerStack
java.lang.Object
|
+--gnu.jel.IntegerStack
- class IntegerStack
- extends java.lang.Object
Specialized stack which works with integers.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntegerStack
public IntegerStack(int initCapacity)
IntegerStack
public IntegerStack()
copy
public IntegerStack copy()
push
public final void push(int what)
peek
public final int peek()
pop
public final int pop()
size
public final int size()
swap
public static void swap(IntegerStack one,
int oneLim,
IntegerStack other,
int otherLim)