Serialized Form
-
Package io.github.astrapi69.gen.tree
-
Class io.github.astrapi69.gen.tree.BaseTreeNode
class BaseTreeNode extends Object implements Serializable-
Serialized Fields
-
childComparator
Comparator<BaseTreeNode<V,
K>> childComparator The comparator object for sort the children -
children
Collection<BaseTreeNode<V,
K>> children The children -
displayValue
String displayValue
The optional display value -
id
K id
The id from this node -
leaf
boolean leaf
The flag that indicates if this tree node is a leaf or a node -
parent
BaseTreeNode<V,
K> parent The parent from this node. If this is null, it is the root -
value
V value
The value
-
-
-
Class io.github.astrapi69.gen.tree.TreeNode
class TreeNode extends Object implements Serializable- serialVersionUID:
- 1L
-
Serialized Fields
-
children
Collection<TreeNode<T>> children
The children. -
displayValue
String displayValue
The optional display value. -
leaf
boolean leaf
The flag that indicates if this tree node is a leaf or a node -
parent
TreeNode<T> parent
The parent from this node. If this is null it is the root. -
value
T value
The value.
-
-
-
Package io.github.astrapi69.gen.tree.api