java.lang.Object
de.serra.graph_walker.VisitController
Allows to control the traversal.
- Author:
- Peter Lamby
-
Constructor Details
-
VisitController
protected VisitController()Constructs.
-
-
Method Details
-
stop
public abstract void stop()Immediatly stop the traversal. No more visit methods will be called.- See Also:
-
dontGoDeeper
public abstract void dontGoDeeper()Don't visit any children of the current value. -
isStopped
public abstract boolean isStopped()Determin if the visit was stopped bystop().- Returns:
trueif the visit is stopped andfalseotherwise.- See Also:
-