Class TreeIterationFlag

java.lang.Object
de.xima.fc.common.tree.TreeIterationFlag

public final class TreeIterationFlag extends Object
Flags for iterating over trees, see TreeIteration.
Since:
8.4.0
  • Field Details

    • EXCLUDE_START_NODES

      public static final long EXCLUDE_START_NODES
      If set, the start nodes are excluded from the iteration. Start nodes are included by default.
      See Also:
    • UNLIMITED_RECURSION

      public static final long UNLIMITED_RECURSION
      By default, stops iterating when an item is encountered for the second time (as determined by Object.hashCode(), Object.equals(Object)) and throws an IllegalStateException. This incurs some extra overhead, if you are certain that the tree is acyclic, you can set this flag to skip the check.
      See Also: