Package org.apache.wicket.util.visit
Interface IVisitor<T,R>
-
- Type Parameters:
T
- type of object to be visitedR
- type of value the visitor should return as the result of the visit/traversal
- All Known Implementing Classes:
DeepChildFirstVisitor
,Form.ValidationVisitor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IVisitor<T,R>
Generic visitor interface for traversals.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
component(T object, IVisit<R> visit)
Called at each object in a visit.
-