Package com.globalmentor.model
Interface Visitor<N>
- Type Parameters:
N
- The type of node being visited.
public interface Visitor<N>
Represents a visitor that can visit each node during traversal (e.g. visiting every node in a tree).
- Author:
- Garret Wilson
-
Method Summary
-
Method Details
-
visit
Visits the given node.- Parameters:
node
- The node being visited.- Returns:
true
if traversal should continue to other nodes.
-