T
- the type of the value of the leaf.public final class TreeLeaf<T> extends AbstractTreeNode<T>
Constructor and Description |
---|
TreeLeaf(T value)
Constructs a new leaf in a tree data structure with the given value.
|
Modifier and Type | Method and Description |
---|---|
T |
getValue()
Gets the value
|
getFlatLeaves, walk