edu.ksu.cis.cadena.core.util
Class TreeNode<T1,T2>
java.lang.Object
edu.ksu.cis.cadena.core.util.TreeNode<T1,T2>
- Type Parameters:
T1 - The type of the keyT2 - The type of the value
public class TreeNode<T1,T2>
- extends java.lang.Object
- Author:
- jesse
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeNode
public TreeNode()
TreeNode
public TreeNode(T2 value)
SetValue
public void SetValue(T2 value)
getValue
public T2 getValue()
addChild
public void addChild(T1 key,
TreeNode<T1,T2> child)
getChild
public TreeNode<T1,T2> getChild(T1 key)
clearChildren
public void clearChildren()
getChildren
public java.util.Collection<TreeNode<T1,T2>> getChildren()
getKeys
public java.util.Set<T1> getKeys()
print
public void print(java.lang.String indent,
java.io.PrintStream printStream)