public sealed interface ComponentIteratorType
The iterator types.
- Since:
- 4.9.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComponentIteratorTypeA breadth-first iteration.static final ComponentIteratorTypeA depth-first iteration. -
Method Summary
-
Field Details
-
DEPTH_FIRST
A depth-first iteration.- Since:
- 4.9.0
-
BREADTH_FIRST
A breadth-first iteration.- Since:
- 4.9.0
-
-
Method Details
-
populate
Populates a deque with the children of the provided component, based on the iterator type and flags.- Parameters:
component- the componentdeque- the dequeflags- the flags- Since:
- 4.9.0
-