T
- the type of node datapublic class Tree<T>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Tree.Node<T> |
Constructor and Description |
---|
Tree() |
Modifier and Type | Method and Description |
---|---|
void |
add(T data,
java.lang.Object id,
java.lang.Object parent) |
Tree.Node<T> |
getRoot() |