Class VisitController

java.lang.Object
de.serra.graph_walker.VisitController

public abstract class VisitController extends Object
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 by stop().
      Returns:
      true if the visit is stopped and false otherwise.
      See Also: