Class TreeIterationFlag
java.lang.Object
de.xima.fc.common.tree.TreeIterationFlag
Flags for iterating over trees, see
TreeIteration.- Since:
- 8.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longIf set, the start nodes are excluded from the iteration.static final longBy default, stops iterating when an item is encountered for the second time (as determined byObject.hashCode(),Object.equals(Object)) and throws anIllegalStateException. -
Method Summary
-
Field Details
-
EXCLUDE_START_NODES
public static final long EXCLUDE_START_NODESIf set, the start nodes are excluded from the iteration. Start nodes are included by default.- See Also:
-
UNLIMITED_RECURSION
public static final long UNLIMITED_RECURSIONBy default, stops iterating when an item is encountered for the second time (as determined byObject.hashCode(),Object.equals(Object)) and throws anIllegalStateException. 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:
-