|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.tum.cs.commons.tree.SimpleTreeNodeHandler<K>
public class SimpleTreeNodeHandler<K>
Handler for SimpleTreeNode
.
Constructor Summary | |
---|---|
SimpleTreeNodeHandler(K rootKey)
Create new handler. |
Method Summary | |
---|---|
SimpleTreeNode<K> |
createRoot()
Create root of node of the tree. |
SimpleTreeNode<K> |
getOrCreateChild(SimpleTreeNode<K> node,
K key)
Get the nodes child identified by the provided key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleTreeNodeHandler(K rootKey)
rootKey
- the key used for the root node.Method Detail |
---|
public SimpleTreeNode<K> createRoot()
createRoot
in interface ITreeNodeHandler<SimpleTreeNode<K>,K>
public SimpleTreeNode<K> getOrCreateChild(SimpleTreeNode<K> node, K key)
getOrCreateChild
in interface ITreeNodeHandler<SimpleTreeNode<K>,K>
|
TUM CCSM Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |