public static interface ElementForest.Visitor<E extends Element<E>>
ElementForest.walk(Element, Visitor)
so that the callers can easily
walk the forest.Modifier and Type | Method and Description |
---|---|
void |
finishWalk()
Called when the whole forest has been visited.
|
void |
finishWalk(E element)
Called when all the children of the element were also visited.
|
void |
startWalk(E element)
Called when the provided element is first visited.
|
void startWalk(E element)
element
- void finishWalk(E element)
element
- void finishWalk()
Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.