public class DefaultKeyVisitor extends Object implements KeyVisitor
The GNU Lesser General Public License for details.
Constructor and Description |
---|
DefaultKeyVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
visitBranch(Key key)
We've found a branch node in a Key tree, and are giving the visitor a
chance to do processing based on it.
|
void |
visitLeaf(Key key)
We've found a leaf node in a Key tree, and are giving the visitor a
chance to do processing based on it.
|
public void visitLeaf(Key key)
KeyVisitor
visitLeaf
in interface KeyVisitor
key
- The found leaf node.public void visitBranch(Key key)
KeyVisitor
visitBranch
in interface KeyVisitor
key
- The found branch node.