Package com.cedarsoftware.util
Interface Traverser.Visitor
- Enclosing class:
- Traverser
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
A visitor interface to process each object encountered during traversal.
Note: This interface is deprecated in favor of using Consumer<Traverser.NodeVisit>
with the new traverse
method.
-
Method Summary
-
Method Details
-
process
Deprecated.Processes an encountered object.- Parameters:
o
- the object to process
-
Traverser.traverse(Object, Set, Consumer)
instead.