|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DepthFirst.Visitor
Class for traversing a tree depth first.
Method Summary | |
---|---|
void |
postorder(int node)
Method called when all the children of the node have been traversed. |
boolean |
preorder(int node)
Method called when the node is initially reached. |
Method Detail |
---|
boolean preorder(int node)
node
- the reached node.
void postorder(int node)
node
- the reached node.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |