Package io.github.astrapi69.tree
Class ChainableTreeNode<T>
- java.lang.Object
-
- io.github.astrapi69.tree.ChainableTreeNode<T>
-
- Type Parameters:
T
- the generic type of the value
- All Implemented Interfaces:
IChainableTreeNode<T>
public class ChainableTreeNode<T> extends java.lang.Object implements IChainableTreeNode<T>
The classChainableTreeNode
can have only one child and one parent
-
-
Constructor Summary
Constructors Constructor Description ChainableTreeNode(T value)
Instantiates a newChainableTreeNode
object.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.astrapi69.tree.api.IChainableTreeNode
getAllParent, getChild, getChildCount, getChildren, getLevel, getParent, getRoot, getValue, hasChild, hasParent, isRoot, setChild, setParent, setValue, toList
-
-
-
-
Constructor Detail
-
ChainableTreeNode
public ChainableTreeNode(T value)
Instantiates a newChainableTreeNode
object.- Parameters:
value
- the value
-
-