|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.yglib.html.parser.CheckStack
public class CheckStack
Constructor Summary | |
---|---|
CheckStack()
|
Method Summary | |
---|---|
Node |
checkNode(TagNode tagNode)
|
Node |
checkNode2(TagNode tagNode)
|
void |
display()
|
boolean |
empty()
|
Node |
getNode(int offset)
if input value is out of range, return null |
Node |
peek()
get the top of data in the stack |
Node |
pop()
|
void |
push(Node node)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CheckStack()
Method Detail |
---|
public boolean empty()
public void push(Node node)
public Node pop()
public Node peek()
public Node checkNode2(TagNode tagNode)
public Node checkNode(TagNode tagNode)
public Node getNode(int offset)
offset
- '0' is current value
public void display()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |