uka.util
Class IntStack
java.lang.Object
uka.util.IntStack
- Direct Known Subclasses:
- IntStack.Shadow
- public class IntStack
- extends java.lang.Object
|
Field Summary |
protected int[] |
buffer
|
protected int |
sp
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sp
protected int sp
buffer
protected int[] buffer
IntStack
public IntStack()
getShadow
public IntStack.Shadow getShadow()
top
public final int top()
pop
public final int pop()
get
public final int get(int n)
size
public final int size()
push
public void push(int x)
push
public void push(IntStack stack)
- Pushes
stack on top of this IntStack.
pop
public final void pop(IntStack stack)
- Pops
stack from this IntStack.
push
public void push(int x,
int y)
push
public void push(int x,
int y,
int z)
push
public void push(int x,
int y,
int z,
int zz)
pushFrame
public void pushFrame(int cnt)
popFrame
public final void popFrame(int cnt)
setFrame
public void setFrame(int pos,
int x)
getFrame
public final int getFrame(int pos)
empty
public final boolean empty()
clear
public final void clear()
enlarge
private final void enlarge(int cnt)
toString
public java.lang.String toString()