|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.util.IntStack
public final class IntStack
A simple integer based stack. moved to org.apache.xerces.util by neilg to support the XPathMatcher.
Constructor Summary | |
---|---|
IntStack()
|
Method Summary | |
---|---|
void |
clear()
Clears the stack. |
int |
elementAt(int depth)
Returns the element at the specified depth in the stack. |
int |
peek()
Peeks at the top of the stack. |
int |
pop()
Pops a value off of the stack. |
void |
print()
Prints the stack. |
void |
push(int value)
Pushes a value onto the stack. |
int |
size()
Returns the size of the stack. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntStack()
Method Detail |
---|
public int size()
public void push(int value)
public int peek()
public int elementAt(int depth)
public int pop()
public void clear()
public void print()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |