A C G H I L R S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addChild(ITreeNode<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Adds the child.
- addChildAt(int, ITreeNode<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Adds the child.
C
- ChainableTreeNode<T> - Class in io.github.astrapi69.tree
-
The class
ChainableTreeNode
can have only one child and one parent - ChainableTreeNode(T) - Constructor for class io.github.astrapi69.tree.ChainableTreeNode
-
Instantiates a new
ChainableTreeNode
object.
G
- getAllParent() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Gets all parent
IChainableTreeNode
from the current tree node - getAllSiblings() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns all siblings of this node in the parent's children list.
- getChild() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Gets the child.
- getChild(ITreeNode<T>, int) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the child from the given index.
- getChildCount() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Gets the child count.
- getChildCount() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the child count.
- getChildren() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Gets the children from the current tree node
- getChildren() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the children.
- getChildren() - Method in class io.github.astrapi69.tree.TreeNode
-
Gets the children.
- getDepth() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns the depth of the tree beginning at this node Returns 0 if this node has no children.
- getDisplayValue() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the optional display value.
- getFirst() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets the first
ILinkedNode
object - getIndexOfChild(ITreeNode<T>, ITreeNode<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the index of the given child from the given parent.
- getLevel() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Returns the distance from the root to this node.
- getLevel() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns the distance from the root to this node.
- getNext() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets the next object
- getNextCount() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets the next count.
- getNextLinkedNodes() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets all next
ILinkedNode
from the current linked node - getNextSibling() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns the next sibling of this node in the parent's children list.
- getParent() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Gets the parent
- getParent() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the parent.
- getPrevious() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets the previous object
- getPreviousCount() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets the next count.
- getPreviousLinkedNodes() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets all previous
ILinkedNode
from the current linked node - getPreviousSibling() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns the previous sibling of this node in the parent's children list.
- getRoot() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Gets the root
IChainableTreeNode
object - getRoot() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the root
ITreeNode
object - getValue() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Gets the value.
- getValue() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Gets the value
- getValue() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the value.
H
- hasChild() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Checks if this tree node has a child
- hasChildren() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks for children.
- hasNext() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Checks if this tree node has a next object
- hasParent() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Checks for parent
- hasParent() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks for parent
- hasPrevious() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Checks for previous object
I
- IChainableTreeNode<T> - Interface in io.github.astrapi69.tree.api
-
The interface
IChainableTreeNode
represents a chainable tree node - ILinkedNode<T> - Interface in io.github.astrapi69.tree.api
-
The interface
ILinkedNode
represents a chainable object with a generic value - io.github.astrapi69.tree - package io.github.astrapi69.tree
- io.github.astrapi69.tree.api - package io.github.astrapi69.tree.api
- isFirst() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Checks if this is the first object
- isLeaf() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks if is leaf.
- isNode() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks if is node.
- isRoot() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Checks if this treenode is root.
- isRoot() - Method in interface io.github.astrapi69.tree.api.ITreeNode
- ITreeNode<T> - Interface in io.github.astrapi69.tree.api
-
The Interface ITreeNode.
L
- LazyTreeElement<T> - Class in io.github.astrapi69.tree
-
The class
LazyTreeElement
represents a lazy tree element that does not know about the parent or children - LazyTreeElement() - Constructor for class io.github.astrapi69.tree.LazyTreeElement
- LinkedNode<T> - Class in io.github.astrapi69.tree
-
The class
LinkedNode
can have only one next element and one previous element - LinkedNode() - Constructor for class io.github.astrapi69.tree.LinkedNode
R
- removeChild(ITreeNode<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Removes the child.
- removeChildAt(int) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Removes the child.
S
- setChild(IChainableTreeNode<T>) - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Sets the child.
- setChildren(List<ITreeNode<T>>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Sets the children.
- setDisplayValue(String) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Sets the optional display value.
- setNext(ILinkedNode<T>) - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Sets the next object
- setParent(IChainableTreeNode<T>) - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Sets the parent.
- setParent(ITreeNode<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Sets the parent.
- setPrevious(ILinkedNode<T>) - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Sets the previous object
- setValue(T) - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Sets the value.
- setValue(T) - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Sets the value.
- setValue(T) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Sets the value.
T
- toList() - Method in interface io.github.astrapi69.tree.api.IChainableTreeNode
-
Transforms this tree node object to an ordered
LinkedList
with all tree nodes - toList() - Method in interface io.github.astrapi69.tree.api.ILinkedNode
-
Transforms this linked node object to an ordered
LinkedList
with all nodes - toList() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
To list.
- traverse(ITreeNode<T>, List<ITreeNode<T>>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Traverse.
- TreeElement - Class in io.github.astrapi69.tree
-
The class
TreeElement
represents as the name already presume a tree element - TreeElement() - Constructor for class io.github.astrapi69.tree.TreeElement
- TreeNode<T> - Class in io.github.astrapi69.tree
-
The generic class TreeNode.
- TreeNode(T) - Constructor for class io.github.astrapi69.tree.TreeNode
-
Instantiates a new tree node.
All Classes All Packages