A B C F G H I L R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(Visitor<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
- accept(SimpleTreeNode<T, K>, Visitor<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Accepts the given visitor that provides a custom algorithm for processing all elements
- accept(SimpleTreeNode<T, K>, Visitor<SimpleTreeNode<T, K>>, boolean) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Accepts the given visitor that provides a custom algorithm for processing all elements
- accept(Visitor<SimpleTreeNode<T, K>>) - Method in class io.github.astrapi69.tree.SimpleTreeNode
- accept(T, Visitor<T>) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Accepts the given visitor that provides a custom algorithm for processing all elements
- accept(T, Visitor<T>, boolean) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Accepts the given visitor that provides a custom algorithm for processing all elements
- add(T) - Method in class io.github.astrapi69.tree.binary.GenericBinaryTree
-
Adds the given value to the binary tree at the right position
- addChild(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Adds the given child
SimpleTreeNodeobject to the first given parentSimpleTreeNodeobject - addChild(TreeIdNode<T, K>) - Method in class io.github.astrapi69.tree.TreeIdNode
-
Adds the child.
- addChild(TreeNode<T>) - Method in class io.github.astrapi69.tree.TreeNode
-
Adds the given child
- addChild(T) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Adds the given child
- addChild(T, T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- addChildren(SimpleTreeNode<T, K>, Collection<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Adds all the given children from the first given parent
SimpleTreeNodeobject - addChildren(Collection<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Adds all the given children
- addChildren(T, Collection<T>) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Adds all the given children from the first given parent
ITreeNodeobject - addRecursively(LinkedNode<T>, T) - Method in class io.github.astrapi69.tree.binary.GenericBinaryTree
-
Adds the given value to the binary tree at the right position
B
- BaseTreeNode<T,K> - Class in io.github.astrapi69.tree
-
The generic class
BaseTreeNodehave a generic id and value object - BaseTreeNode(T) - Constructor for class io.github.astrapi69.tree.BaseTreeNode
-
Instantiates a new
BaseTreeNodeobject - BaseTreeNodeTransformer - Class in io.github.astrapi69.tree.convert
-
The class
BaseTreeNodeTransformerprovides algorithms for converting between theBaseTreeNodeobjects andTreeIdNodeobjects.
C
- clearAll() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Removes all the descendants
- clearAll(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Removes all the descendants from the given
SimpleTreeNodeobject - clearAll(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Removes all the descendants from the given
ITreeNodeobject - clearChildren() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Removes all the children
- clearChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Removes all the children from the given
SimpleTreeNodeobject - clearChildren(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Removes all the children from the given
ITreeNodeobject - contains(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the second given
SimpleTreeNodeobject is a descendant of the first givenSimpleTreeNodeobject - contains(TreeNode<T>) - Method in class io.github.astrapi69.tree.TreeNode
-
Checks if the given
ITreeNodeobject is a descendant of this tree node - contains(T) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks if the given
ITreeNodeobject is a descendant of this tree node - contains(T) - Method in class io.github.astrapi69.tree.binary.GenericBinaryTree
-
Checks if the given value exists in this binary tree object
- contains(T, T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- containsAll(SimpleTreeNode<T, K>, Collection<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the given
Collectionobject ofSimpleTreeNodeobjects are descendants of the first givenSimpleTreeNodeobject - containsAll(Collection<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks if the given
Collectionobject ofITreeNodeobjects are descendants of this tree node - containsAll(T, Collection<T>) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- containsRecursively(LinkedNode<T>, T) - Method in class io.github.astrapi69.tree.binary.GenericBinaryTree
-
Checks recursively if the given value exists in this binary tree object
F
- findAllByValue(SimpleTreeNode<T, K>, T) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Find all
SimpleTreeNodeobjects from the first givenSimpleTreeNodeobject that serves as the search target, that have the same value as the given value - findAllByValue(T, V) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- findAllByValue(V) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Find all
ITreeNodeobjects that have the same value as the given value - findByValue(SimpleTreeNode<T, K>, T) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Find the first occurrence of
SimpleTreeNodeobject from the first givenSimpleTreeNodeobject that serves as the search target, that have the same value as the given value - findByValue(T, V) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- findByValue(V) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Find all
ITreeNodeobjects that have the same value as the given value - FindValuesBaseTreeNodeVisitor<T,K> - Class in io.github.astrapi69.tree.visitor
-
This visitor visits all
BaseTreeNodeobjects and checks if the value equals with the value of this visitor - FindValuesBaseTreeNodeVisitor(T) - Constructor for class io.github.astrapi69.tree.visitor.FindValuesBaseTreeNodeVisitor
-
Instantiates a new
FindValuesBaseTreeNodeVisitorobject - first - Variable in class io.github.astrapi69.tree.binary.GenericBinaryTree
-
the first
LinkedNodeobject is also the root object
G
- gen.tree - module gen.tree
-
The MIT License Copyright (C) 2015 Asterios Raptis Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
- GenericBinaryTree<T> - Class in io.github.astrapi69.tree.binary
-
The abstract class
GenericBinaryTreerepresents a generic binary tree. - GenericBinaryTree() - Constructor for class io.github.astrapi69.tree.binary.GenericBinaryTree
- getAllLeftSiblings() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Gets all the left siblings from this node
- getAllLeftSiblings(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Gets all the left siblings from the given
SimpleTreeNodeobject - getAllRightSiblings() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Gets all the right siblings from this node
- getAllRightSiblings(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Gets all the right siblings from the given
SimpleTreeNodeobject - getAllSiblings() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns all siblings of this node in the parent's children list.
- getAllSiblings() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Gets all the siblings from this node
- getAllSiblings(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Returns all siblings of the given
SimpleTreeNodeobject in the parent's children list - getAllSiblings(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Returns all siblings of the given
ITreeNodeobject in the parent's children list - getChildCount() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the child count.
- getChildCount() - Method in class io.github.astrapi69.tree.TreeIdNode
-
Gets the child count.
- getChildCount(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Gets the child count from the given
SimpleTreeNodeobject - getChildCount(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Gets the child count from the given
ITreeNodeobject - getChildren() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the children.
- getChildren() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Gets the children
- getChildren() - Method in class io.github.astrapi69.tree.TreeNode
-
Gets the children.
- getChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Gets the children from the given
SimpleTreeNodeobject - getDisplayValue() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the optional display value.
- getFirst() - Method in class io.github.astrapi69.tree.binary.LinkedNode
-
Gets the first
LinkedNodeobject - getId() - Method in interface io.github.astrapi69.tree.api.IBaseTreeNode
-
Gets the id
- getLevel() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns the distance from the root to this node.
- getLevel() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Returns the distance from the root to this node.
- getLevel(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Returns the distance from the root to the given
SimpleTreeNodeobject. - getLevel(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Returns the distance from the root to the given
ITreeNodeobject. - getNextCount() - Method in class io.github.astrapi69.tree.binary.LinkedNode
-
Gets the next count.
- getNextLinkedNodes() - Method in class io.github.astrapi69.tree.binary.LinkedNode
-
Gets all next
LinkedNodefrom 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.
- getNextSibling(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Returns the next sibling of the given
SimpleTreeNodeobject in the parent's children list. - getNextSibling(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Returns the next sibling of the given
ITreeNodeobject in the parent's children list. - getParent() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the parent.
- getPreviousSibling() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Returns the previous sibling of this node in the parent's children list.
- getPreviousSibling(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Returns the previous sibling of the given
SimpleTreeNodeobject in the parent's children list. - getPreviousSibling(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Returns the previous sibling of the given
ITreeNodeobject in the parent's children list. - getRoot() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the root object
- getRoot() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Gets the root
SimpleTreeNodeobject - getRoot(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Gets the root from the given
SimpleTreeNodeobject - getRoot(Map<K, TreeIdNode<T, K>>) - Static method in class io.github.astrapi69.tree.convert.BaseTreeNodeTransformer
-
Retrieves the root
BaseTreeNodeobject from the given @link Map} object that containsTreeIdNodeobjects as values and the id as key - getRoot(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Gets the root from the given
ITreeNodeobject - getValue() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Gets the value.
H
- hasChildren() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks for children.
- hasChildren() - Method in class io.github.astrapi69.tree.TreeIdNode
-
Checks for children.
- hasChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the given
SimpleTreeNodeobject has children - hasChildren(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Checks if the given
ITreeNodeobject has children - hasLeftMostChild() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Checks if this node has a left most child
- hasNext() - Method in class io.github.astrapi69.tree.binary.LinkedNode
-
Checks if this tree node has a next object
- hasParent() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Checks for parent
- hasParent() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Checks if this node has a parent
- hasParent() - Method in class io.github.astrapi69.tree.TreeIdNode
-
Checks for parent
- hasParent(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the given
SimpleTreeNodeobject has a parentSimpleTreeNodeobject - hasParent(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- hasPrevious() - Method in class io.github.astrapi69.tree.binary.LinkedNode
-
Checks for previous object
- hasRightSibling() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Checks if this node has a right sibling
I
- IBaseTreeNode<V,K,T extends IBaseTreeNode<V,K,T>> - Interface in io.github.astrapi69.tree.api
-
The Interface
IBaseTreeNodeextendsITreeNodeand provides an additional id field that can be used as key - io.github.astrapi69.tree - package io.github.astrapi69.tree
-
Provides classes for abstract trees and nodes
- io.github.astrapi69.tree.api - package io.github.astrapi69.tree.api
-
Provides interfaces for abstract trees and nodes
- io.github.astrapi69.tree.binary - package io.github.astrapi69.tree.binary
- io.github.astrapi69.tree.convert - package io.github.astrapi69.tree.convert
- io.github.astrapi69.tree.handler - package io.github.astrapi69.tree.handler
- io.github.astrapi69.tree.visitor - package io.github.astrapi69.tree.visitor
- isChildOf(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the second given
SimpleTreeNodeobject is a child of the firstSimpleTreeNodeobject - isChildOf(T, T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- isFirst() - Method in class io.github.astrapi69.tree.binary.LinkedNode
-
Checks if this is the first object
- isGreater(LinkedNode<T>, T) - Method in class io.github.astrapi69.tree.binary.GenericBinaryTree
-
Checks if the given value is greater than the value of the given
LinkedNodeobject - 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.
- isNode() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Checks if this
SimpleTreeNodeobject is a node - isNode() - Method in class io.github.astrapi69.tree.TreeIdNode
-
Checks if this
TreeIdNodeobject is a node - isNode(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the given
SimpleTreeNodeobject is a node - isNode(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Checks if the given
ITreeNodeobject is a node - isParentOf(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the first given
SimpleTreeNodeobject is the parent of the secondSimpleTreeNodeobject - isParentOf(T, T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- isRoot() - Method in interface io.github.astrapi69.tree.api.ITreeNode
- isRoot() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Checks if this
SimpleTreeNodeis the rootSimpleTreeNodeobject - isRoot() - Method in class io.github.astrapi69.tree.TreeIdNode
-
Checks if this
TreeIdNodeis the rootTreeIdNodeobject - isRoot(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Checks if the given
SimpleTreeNodeis the rootSimpleTreeNodeobject - isRoot(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- isSmaller(LinkedNode<T>, T) - Method in class io.github.astrapi69.tree.binary.GenericBinaryTree
-
Checks if the given value is smaller than the value of the given
LinkedNodeobject - ITreeNode<V,T extends ITreeNode<V,T>> - Interface in io.github.astrapi69.tree.api
-
The Interface
ITreeNodeholds the children in aCollectionobject - ITreeNodeHandlerExtensions - Class in io.github.astrapi69.tree.handler
-
The class
ITreeNodeHandlerExtensionsprovides handler methods for the classITreeNode - ITreeNodeHandlerExtensions() - Constructor for class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
L
- LinkedNode<T> - Class in io.github.astrapi69.tree.binary
-
The class
LinkedNodeis a representation of a binary tree node and can have only one next element and one previous element and a current value. - LinkedNode(T) - Constructor for class io.github.astrapi69.tree.binary.LinkedNode
-
Instantiates a new
LinkedNode
R
- removeChild(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Removes the given child from the given first
SimpleTreeNode - removeChild(TreeIdNode<T, K>) - Method in class io.github.astrapi69.tree.TreeIdNode
-
Removes the child.
- removeChild(TreeNode<T>) - Method in class io.github.astrapi69.tree.TreeNode
-
Removes the child.
- removeChild(T) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Removes the child.
- removeChild(T, T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Removes the given child from the given first
ITreeNode - removeChildren() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Removes all the children
- removeChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Removes all children from the given
SimpleTreeNodeobject - removeChildren(SimpleTreeNode<T, K>, Collection<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Removes all the given children from the first given
SimpleTreeNodeobject - removeChildren(Collection<T>) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Removes all the given children
- removeChildren(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Removes all children from the given
ITreeNodeobject - removeChildren(T, Collection<T>) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Removes all the given children from the first given
ITreeNodeobject
S
- setChildren(Collection<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.
- setId(K) - Method in interface io.github.astrapi69.tree.api.IBaseTreeNode
-
Sets the id
- setLeaf(boolean) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Sets the flag that indicates if this tree node is a node or a leaf
- setParent(T) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Sets the parent.
- setValue(V) - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Sets the value.
- SimpleTreeNode<T,K> - Class in io.github.astrapi69.tree
-
The generic class
SimpleTreeNodeholds only the parent, the left most child and the right sibling - SimpleTreeNode(T) - Constructor for class io.github.astrapi69.tree.SimpleTreeNode
-
Instantiates a new
SimpleTreeNodeobject - SimpleTreeNodeHandlerExtensions - Class in io.github.astrapi69.tree.handler
-
The class
SimpleTreeNodeHandlerExtensionsprovides handler methods for the classSimpleTreeNode - SimpleTreeNodeHandlerExtensions() - Constructor for class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
T
- toKeyBaseTreeNodeMap(BaseTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.convert.BaseTreeNodeTransformer
-
Transforms the given
BaseTreeNodeobject to aMapobject with the key and the correspondingBaseTreeNodeobjects - toKeyMap(BaseTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.convert.BaseTreeNodeTransformer
-
Transforms the given
BaseTreeNodeobject to aMapobject with the key and the correspondingTreeIdNodeobjects - toList() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Traverse this node and adds all descendant with this included in to a
Listobject - toList() - Method in class io.github.astrapi69.tree.binary.LinkedNode
-
Transforms this linked node object to an ordered
LinkedListwith all nodes - toList(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Traverse the given
SimpleTreeNodeobject and adds all descendant with it self-included in to aListobject - toList(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
-
Traverse the given
ITreeNodeobject and adds all descendant with it self-included in to aListobject - toTreeIdNode(BaseTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.convert.BaseTreeNodeTransformer
-
Transforms the given
BaseTreeNodeobject to aTreeIdNodeobject - transform(Map<K, TreeIdNode<T, K>>) - Static method in class io.github.astrapi69.tree.convert.BaseTreeNodeTransformer
-
Transforms the given
Mapobject that containsTreeIdNodeobjects as values and the id as key - traverse() - Method in interface io.github.astrapi69.tree.api.ITreeNode
-
Traverse this node and adds all descendant with this included in to a
Collectionobject - traverse() - Method in class io.github.astrapi69.tree.SimpleTreeNode
-
Traverse this node and add all descendant with this included in to a
Set - traverse(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.tree.handler.SimpleTreeNodeHandlerExtensions
-
Traverse the given
SimpleTreeNodeobject and add all descendants with the givenSimpleTreeNodeobject included in to the returnedCollectionobject - traverse(T) - Static method in class io.github.astrapi69.tree.handler.ITreeNodeHandlerExtensions
- TreeIdNode<T,K> - Class in io.github.astrapi69.tree
-
The generic class
TreeIdNodekeeps no references to the parent or the children, only the id's are kept. - TreeIdNode(T) - Constructor for class io.github.astrapi69.tree.TreeIdNode
-
Instantiates a new
TreeIdNodeobject - 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.
V
- visit(BaseTreeNode<T, K>) - Method in class io.github.astrapi69.tree.visitor.FindValuesBaseTreeNodeVisitor
All Classes All Packages