public interface TreeItemAction
TreeItemIterator
Modifier and Type | Method and Description |
---|---|
void |
execute(TreeItem item,
int visitCount,
int parentVisitCount)
Action to perform when visiting the specified tree node
|
void execute(TreeItem item, int visitCount, int parentVisitCount)
item
- visitCount
- counter indicating that this is the ith node visited
during the traversalparentVisitCount
- counter indicating that the node's parent is
the jth node visited during the traversalUniversity of Colorado Denver, Department of Biostatistics and Informatics