Interface IHierarchyVisitor<DATATYPE>
- Type Parameters:
DATATYPE- The data type to be visited
- All Known Implementing Classes:
ChildrenProviderHierarchyVisitor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Visitor interface
- Author:
- Philip Helger
-
Method Summary
-
Method Details
-
visit
Visit all objects, starting specified one.- Parameters:
aStartObject- The object to start from. May benullto indicate the hierarchy root.bInvokeOnStartObject-trueto indicate that the callback should also be invoked on the first element,falseto indicate that the callback should only be invoked for the children of the passed element.
-