- Type Parameters:
E
- type of element in the BTnode
- Enclosing class:
- BTnode<E>
public static interface BTnode.Visitor<E>
This interface forces users of BTnode to provide a visit method to specify
how a node's data is handled when it is "visited". By placing that visit
method in the class using the BTnodes, that method can refer to the class's
instance variables and customize what happens at the visit