com.mhhe.clrs2e
Interface BinarySearchTree.Visitor

Enclosing interface:
BinarySearchTree

public static interface BinarySearchTree.Visitor

Interface for when we visit a node during a walk.


Method Summary
 java.lang.Object visit(java.lang.Object handle)
          Perform some action upon visiting the node.
 

Method Detail

visit

public java.lang.Object visit(java.lang.Object handle)
Perform some action upon visiting the node.

Parameters:
handle - Handle that identifies the node being visited.