Package ca.hedlund.dp.visitor
Interface Visitable<T>
- Record Components:
T
- the parameterized type of the visitor to accept. This should be the base type of the objects being visited.
public interface Visitable<T>
Interface for classes which wish to implement the visitor
pattern.
-
Method Summary
-
Method Details
-
accept
Accept the given visitor.- Parameters:
the
- visitor
-