Package dev.roanh.gmark.util
Interface Tree.TreeVisitor<T>
- Type Parameters:
T
- The tree data type.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface for tree traversal implementations.
-
Method Summary
-
Method Details
-
visitNode
Called when the visitor arrives at a new node.- Parameters:
node
- The node visited.- Returns:
- True if this search should be stopped.
-