T,R - public interface Visitor<T,R>
RadixTreeImpl for perfroming
task on a searched node.| Modifier and Type | Method and Description |
|---|---|
R |
getResult()
The visitor can store any type of result object, depending on the context of
what it is being used for.
|
void |
visit(String key,
ds.tree.RadixTreeNode<T> parent,
ds.tree.RadixTreeNode<T> node)
This method gets called by
visit
when it finds a node matching the key given to it. |
void visit(String key, ds.tree.RadixTreeNode<T> parent, ds.tree.RadixTreeNode<T> node)
visit
when it finds a node matching the key given to it.key - The key that matched the nodeparent - The parent of the node being visitednode - The node that is being visitedR getResult()
Copyright © 2015 Bluebrain Project. All rights reserved.