|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.xpath.xml.BoolStack
**For internal use only** Simple stack for boolean values.
Constructor Summary | |
BoolStack()
**For internal use only** Default constructor. |
|
BoolStack(int size)
**For internal use only** Construct a IntVector, using the given block size. |
Method Summary | |
boolean |
isEmpty()
**For internal use only** Tests if this stack is empty. |
boolean |
peek()
**For internal use only** Looks at the object at the top of this stack without removing it from the stack. |
boolean |
pop()
**For internal use only** Removes the object at the top of this stack and returns that object as the value of this function. |
boolean |
push(boolean val)
**For internal use only** Pushes an item onto the top of this stack. |
int |
size()
**For internal use only** Get the length of the list. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public BoolStack()
public BoolStack(int size)
Method Detail |
public int size()
public boolean push(boolean val)
i
- the int to be pushed onto this stack.item
argument.public boolean pop()
public boolean peek()
public boolean isEmpty()
true
if this stack is empty;
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |