Index

A B C F G H I K L M O P R S T V 
All Classes and Interfaces|All Packages|Serialized Form

A

accept(Visitor<T>) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
accept(SimpleTreeNode<T, K>, Visitor<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.gen.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.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Accepts the given visitor that provides a custom algorithm for processing all elements
accept(Visitor<SimpleTreeNode<V, K>>) - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
accept(T, Visitor<T>) - Static method in class io.github.astrapi69.gen.tree.handler.BaseTreeNodeVisitorHandlerExtensions
Accepts the given visitor that provides a custom algorithm for processing all elements
accept(T, Visitor<T>) - Static method in class io.github.astrapi69.gen.tree.handler.TreeNodeVisitorHandlerExtensions
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.gen.tree.handler.BaseTreeNodeVisitorHandlerExtensions
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.gen.tree.handler.TreeNodeVisitorHandlerExtensions
Accepts the given visitor that provides a custom algorithm for processing all elements
add(T) - Method in class io.github.astrapi69.gen.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.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Adds the given child SimpleTreeNode object to the first given parent SimpleTreeNode object
addChild(TreeIdNode<T, K>) - Method in class io.github.astrapi69.gen.tree.TreeIdNode
Adds the child.
addChild(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
addChild(T, int) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
addChild(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Adds the given child ITreeNode object to the first given parent ITreeNode object
addChild(T, T, int) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Adds the given child ITreeNode object to the first given parent ITreeNode object
addChildren(SimpleTreeNode<T, K>, Collection<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Adds all the given children from the first given parent SimpleTreeNode object
addChildren(Collection<T>) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
addChildren(T, Collection<T>) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Adds all the given children from the first given parent ITreeNode object
addRecursively(LinkedNode<T>, T) - Method in class io.github.astrapi69.gen.tree.binary.GenericBinaryTree
Adds the given value to the binary tree at the right position

B

BaseMergeTreeNodesVisitor<V,K,T extends IBaseTreeNode<V,K,T>> - Class in io.github.astrapi69.gen.tree.visitor
This visitor visits all IBaseTreeNode objects and merges all nodes to the given IBaseTreeNode object.
BaseMergeTreeNodesVisitor(T, MergeStrategy) - Constructor for class io.github.astrapi69.gen.tree.visitor.BaseMergeTreeNodesVisitor
Instantiates a new BaseMergeTreeNodesVisitor object
BaseTreeNode<V,K> - Class in io.github.astrapi69.gen.tree
The generic class BaseTreeNode have a generic id and value object
BaseTreeNode(V) - Constructor for class io.github.astrapi69.gen.tree.BaseTreeNode
Instantiates a new BaseTreeNode object
BaseTreeNodeTransformer - Class in io.github.astrapi69.gen.tree.convert
The class BaseTreeNodeTransformer provides algorithms for converting between the BaseTreeNode objects and TreeIdNode objects.
BaseTreeNodeVisitorHandlerExtensions - Class in io.github.astrapi69.gen.tree.handler
The class BaseTreeNodeVisitorHandlerExtensions provides handler methods for the visit all field in the class IBaseTreeNode
BaseTreeNodeVisitorHandlerExtensions() - Constructor for class io.github.astrapi69.gen.tree.handler.BaseTreeNodeVisitorHandlerExtensions
 

C

clearAll() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
clearAll(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Removes all the descendants from the given SimpleTreeNode object
clearAll(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes all the descendants from the given ITreeNode object
clearChildren() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
clearChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Removes all the children from the given SimpleTreeNode object
clearChildren(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes all the children from the given ITreeNode object
contains(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the second given SimpleTreeNode object is a descendant of the first given SimpleTreeNode object
contains(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
contains(T) - Method in class io.github.astrapi69.gen.tree.binary.GenericBinaryTree
Checks if the given value exists in this binary tree object
contains(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the second given ITreeNode object is a descendant of the first given ITreeNode object
containsAll(SimpleTreeNode<T, K>, Collection<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the given Collection object of SimpleTreeNode objects are descendants of the first given SimpleTreeNode object
containsAll(Collection<T>) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
containsAll(T, Collection<T>) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the given Collection object of ITreeNode objects are descendants of the first given ITreeNode object
containsRecursively(LinkedNode<T>, T) - Method in class io.github.astrapi69.gen.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.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Find all SimpleTreeNode objects from the first given SimpleTreeNode object 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.gen.tree.handler.ITreeNodeHandlerExtensions
Find all ITreeNode objects from the first given ITreeNode object that serves as the search target, that have the same value as the given value
findAllByValue(V) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
findById(K) - Method in interface io.github.astrapi69.gen.tree.api.IBaseTreeNode
findById(T, K) - Static method in class io.github.astrapi69.gen.tree.handler.IBaseTreeNodeHandlerExtensions
Find the occurrence of IBaseTreeNode object from the given key object that serves as the search target
findByValue(SimpleTreeNode<T, K>, T) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Find the first occurrence of SimpleTreeNode object from the first given SimpleTreeNode object 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.gen.tree.handler.ITreeNodeHandlerExtensions
Find the first occurrence of ITreeNode object from the first given ITreeNode object that serves as the search target, that have the same value as the given value
findByValue(V) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
findFirstOccurenceOfDescendant(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Find the occurrence of ITreeNode object from the given possible descendant object that serves as the search target
FindValuesBaseTreeNodeVisitor<V,K> - Class in io.github.astrapi69.gen.tree.visitor
This visitor visits all BaseTreeNode objects and checks if the value equals with the value of this visitor
FindValuesBaseTreeNodeVisitor(V) - Constructor for class io.github.astrapi69.gen.tree.visitor.FindValuesBaseTreeNodeVisitor
Instantiates a new FindValuesBaseTreeNodeVisitor object
FindValuesIBaseTreeNodeVisitor<V,K,T extends IBaseTreeNode<V,K,T>> - Class in io.github.astrapi69.gen.tree.visitor
This visitor visits all IBaseTreeNode objects and checks if the value equals with the value of this visitor
FindValuesIBaseTreeNodeVisitor(V) - Constructor for class io.github.astrapi69.gen.tree.visitor.FindValuesIBaseTreeNodeVisitor
Instantiates a new FindValuesIBaseTreeNodeVisitor object
first - Variable in class io.github.astrapi69.gen.tree.binary.GenericBinaryTree
the first LinkedNode object is also the root object

G

GenericBinaryTree<T> - Class in io.github.astrapi69.gen.tree.binary
The abstract class GenericBinaryTree represents a generic binary tree.
GenericBinaryTree() - Constructor for class io.github.astrapi69.gen.tree.binary.GenericBinaryTree
 
getAllLeftSiblings() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Gets all the left siblings from this node
getAllLeftSiblings(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Gets all the left siblings from the given SimpleTreeNode object
getAllRightSiblings() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Gets all the right siblings from this node
getAllRightSiblings(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Gets all the right siblings from the given SimpleTreeNode object
getAllSiblings() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getAllSiblings() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Gets all the siblings from this node
getAllSiblings(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Returns all siblings of the given SimpleTreeNode object in the parent's children list
getAllSiblings(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Returns all siblings of the given ITreeNode object in the parent's children list
getChildAt(int) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getChildAt(T, int) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Gets an Optional object with the child tree node from the given index from the first given parent ITreeNode object
getChildCount() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getChildCount() - Method in class io.github.astrapi69.gen.tree.TreeIdNode
Gets the child count.
getChildCount(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Gets the child count from the given SimpleTreeNode object
getChildCount(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Gets the child count from the given ITreeNode object
getChildIndex(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getChildIndex(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Gets the index of the given child from the given index from the first given parent ITreeNode object
getChildren() - Method in class io.github.astrapi69.gen.tree.BaseTreeNode
Gets the children of this node
getChildren() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Gets the children
getChildren() - Method in class io.github.astrapi69.gen.tree.TreeNode
getChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Gets the children from the given SimpleTreeNode object
getFirst() - Method in class io.github.astrapi69.gen.tree.binary.LinkedNode
Gets the first LinkedNode object
getLevel() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getLevel() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Returns the distance from the root to this node.
getLevel(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Returns the distance from the root to the given SimpleTreeNode object.
getLevel(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Returns the distance from the root to the given ITreeNode object.
getNextCount() - Method in class io.github.astrapi69.gen.tree.binary.LinkedNode
Gets the next count.
getNextLinkedNodes() - Method in class io.github.astrapi69.gen.tree.binary.LinkedNode
Gets all next LinkedNode from the current linked node
getNextSibling() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getNextSibling(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Returns the next sibling of the given SimpleTreeNode object in the parent's children list.
getNextSibling(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Returns the next sibling of the given ITreeNode object in the parent's children list.
getPreviousSibling() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getPreviousSibling(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Returns the previous sibling of the given SimpleTreeNode object in the parent's children list.
getPreviousSibling(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Returns the previous sibling of the given ITreeNode object in the parent's children list.
getRoot() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
getRoot() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Gets the root SimpleTreeNode object
getRoot(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Gets the root from the given SimpleTreeNode object
getRoot(Map<K, TreeIdNode<T, K>>) - Static method in class io.github.astrapi69.gen.tree.convert.BaseTreeNodeTransformer
Retrieves the root BaseTreeNode object from the given @link Map} object that contains TreeIdNode objects as values and the id as key
getRoot(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Gets the root from the given ITreeNode object

H

hasChildren() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
hasChildren() - Method in class io.github.astrapi69.gen.tree.TreeIdNode
Checks for children.
hasChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the given SimpleTreeNode object has children
hasChildren(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the given ITreeNode object has children
hasLeftMostChild() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Checks if this node has a left most child
hasNext() - Method in class io.github.astrapi69.gen.tree.binary.LinkedNode
Checks if this tree node has a next object
hasNextSibling() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
hasNextSibling(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the given ITreeNode object has a next sibling ITreeNode object
hasParent() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
hasParent() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Checks if this node has a parent
hasParent() - Method in class io.github.astrapi69.gen.tree.TreeIdNode
Checks for parent
hasParent(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the given SimpleTreeNode object has a parent SimpleTreeNode object
hasParent(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the given ITreeNode object has a parent ITreeNode object
hasPrevious() - Method in class io.github.astrapi69.gen.tree.binary.LinkedNode
Checks for previous object
hasPreviousSibling() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
hasPreviousSibling(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the given ITreeNode object has a previous sibling ITreeNode object
hasRightSibling() - Method in class io.github.astrapi69.gen.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.gen.tree.api
The Interface IBaseTreeNode extends ITreeNode and provides an additional id field that can be used as key
IBaseTreeNodeHandlerExtensions - Class in io.github.astrapi69.gen.tree.handler
The class IBaseTreeNodeHandlerExtensions provides handler methods for the class IBaseTreeNode
IBaseTreeNodeHandlerExtensions() - Constructor for class io.github.astrapi69.gen.tree.handler.IBaseTreeNodeHandlerExtensions
 
INORDER - Enum constant in enum class io.github.astrapi69.gen.tree.enumeration.traversal.TraversalType
This INORDER type is for the inorder traversal
io.github.astrapi69.gen.tree - package io.github.astrapi69.gen.tree
Provides classes for abstract trees and nodes
io.github.astrapi69.gen.tree.api - package io.github.astrapi69.gen.tree.api
Provides interfaces for abstract trees and nodes
io.github.astrapi69.gen.tree.binary - package io.github.astrapi69.gen.tree.binary
 
io.github.astrapi69.gen.tree.convert - package io.github.astrapi69.gen.tree.convert
 
io.github.astrapi69.gen.tree.enumeration.merge - package io.github.astrapi69.gen.tree.enumeration.merge
 
io.github.astrapi69.gen.tree.enumeration.traversal - package io.github.astrapi69.gen.tree.enumeration.traversal
 
io.github.astrapi69.gen.tree.handler - package io.github.astrapi69.gen.tree.handler
 
io.github.astrapi69.gen.tree.visitor - package io.github.astrapi69.gen.tree.visitor
 
io.github.astrapisixtynine.gen.tree - module io.github.astrapisixtynine.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.
isAncestor(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
isAncestor(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the second given ITreeNode object is an ancestor of the first given ITreeNode object
isChild(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
isChild(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the second given ITreeNode object is a child of the first given ITreeNode object
isChildOf(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the second given SimpleTreeNode object is a child of the first SimpleTreeNode object
isChildOf(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the second given ITreeNode object is a child of the first ITreeNode object
isDescendant(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
isDescendant(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the second given ITreeNode object is a descendant of the first given ITreeNode object
isFirst() - Method in class io.github.astrapi69.gen.tree.binary.LinkedNode
Checks if this is the first object
isGreater(LinkedNode<T>, T) - Method in class io.github.astrapi69.gen.tree.binary.GenericBinaryTree
Checks if the given value is greater than the value of the given LinkedNode object
isGreater(K) - Method in class io.github.astrapi69.gen.tree.visitor.MaxIndexFinderTreeNodeVisitor
Checks if the given id is greater than the current maxIndex
isNode() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
isNode() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Checks if this SimpleTreeNode object is a node
isNode() - Method in class io.github.astrapi69.gen.tree.TreeIdNode
Checks if this TreeIdNode object is a node
isNode(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the given SimpleTreeNode object is a node
isNode(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the given ITreeNode object is a node
isParentOf(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the first given SimpleTreeNode object is the parent of the second SimpleTreeNode object
isParentOf(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the first given ITreeNode object is the parent of the second ITreeNode object
isRoot() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
isRoot() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Checks if this SimpleTreeNode is the root SimpleTreeNode object
isRoot() - Method in class io.github.astrapi69.gen.tree.TreeIdNode
Checks if this TreeIdNode is the root TreeIdNode object
isRoot(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Checks if the given SimpleTreeNode is the root SimpleTreeNode object
isRoot(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Checks if the given ITreeNode is the root ITreeNode object
isSmaller(LinkedNode<T>, T) - Method in class io.github.astrapi69.gen.tree.binary.GenericBinaryTree
Checks if the given value is smaller than the value of the given LinkedNode object
ITreeNode<V,T extends ITreeNode<V,T>> - Interface in io.github.astrapi69.gen.tree.api
The Interface ITreeNode holds the children in a Collection object
ITreeNodeHandlerExtensions - Class in io.github.astrapi69.gen.tree.handler
The class ITreeNodeHandlerExtensions provides handler methods for the class ITreeNode
ITreeNodeHandlerExtensions() - Constructor for class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
 

K

KEEP - Enum constant in enum class io.github.astrapi69.gen.tree.enumeration.merge.MergeStrategy
This strategy will keep the existing node and ignore the new one

L

LinkedNode<T> - Class in io.github.astrapi69.gen.tree.binary
The class LinkedNode is 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.gen.tree.binary.LinkedNode
Instantiates a new LinkedNode

M

MaxIndexFinderTreeNodeVisitor<V,K,T extends IBaseTreeNode<V,K,T>> - Class in io.github.astrapi69.gen.tree.visitor
This visitor visits all ITreeNode objects and adds them to a Collection object with all descendant
MaxIndexFinderTreeNodeVisitor() - Constructor for class io.github.astrapi69.gen.tree.visitor.MaxIndexFinderTreeNodeVisitor
Instantiates a new MergeTreeNodesVisitor object
MergeStrategy - Enum Class in io.github.astrapi69.gen.tree.enumeration.merge
The enum MergeStrategy will be used for merge tree nodes
mergeTreeNodes(T, List<T>) - Static method in class io.github.astrapi69.gen.tree.handler.IBaseTreeNodeHandlerExtensions
Merge the given tree nodes with the given root tree node
mergeTreeNodes(T, T...) - Static method in class io.github.astrapi69.gen.tree.handler.IBaseTreeNodeHandlerExtensions
Merge the given tree nodes with the given root tree node
MergeTreeNodesVisitor<V,K,T extends IBaseTreeNode<V,K,T>> - Class in io.github.astrapi69.gen.tree.visitor
This visitor visits all IBaseTreeNode objects and merges all nodes to the given IBaseTreeNode object.
MergeTreeNodesVisitor(T) - Constructor for class io.github.astrapi69.gen.tree.visitor.MergeTreeNodesVisitor
Instantiates a new MergeTreeNodesVisitor object
move(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
move(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Moves the given ITreeNode object to the new given parent ITreeNode object that can be null

O

OVERWRITE - Enum constant in enum class io.github.astrapi69.gen.tree.enumeration.merge.MergeStrategy
This strategy will overwrite the existing node with the new one

P

POSTORDER - Enum constant in enum class io.github.astrapi69.gen.tree.enumeration.traversal.TraversalType
This POSTORDER type is for the postorder traversal
PREORDER - Enum constant in enum class io.github.astrapi69.gen.tree.enumeration.traversal.TraversalType
This PREORDER type is for the preorder traversal

R

ReindexTreeNodeVisitor<V,K,T extends IBaseTreeNode<V,K,T>> - Class in io.github.astrapi69.gen.tree.visitor
This visitor visits all ITreeNode objects and adds them to a Collection object with all descendants
ReindexTreeNodeVisitor(IdGenerator<K>) - Constructor for class io.github.astrapi69.gen.tree.visitor.ReindexTreeNodeVisitor
Instantiates a new ReindexTreeNodeVisitor object
removeChild(SimpleTreeNode<T, K>, SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Removes the given child from the given first SimpleTreeNode
removeChild(TreeIdNode<T, K>) - Method in class io.github.astrapi69.gen.tree.TreeIdNode
Removes the child.
removeChild(T) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
removeChild(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes the given child from the given first ITreeNode
removeChild(T, T, boolean) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes the given child from the given first ITreeNode
removeChildren() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
removeChildren(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Removes all children from the given SimpleTreeNode object
removeChildren(SimpleTreeNode<T, K>, Collection<SimpleTreeNode<T, K>>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Removes all the given children from the first given SimpleTreeNode object
removeChildren(Collection<T>) - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
removeChildren(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes all children from the given ITreeNode object
removeChildren(T, Collection<T>) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes all the given children from the first given ITreeNode object
removeFromParent(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes the parent from the given ITreeNode object
removeFromParent(T, T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes the parent from the given child ITreeNode object
removeFromParent(T, T, boolean) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Removes the parent from the given child ITreeNode object

S

SimpleTreeNode<V,K> - Class in io.github.astrapi69.gen.tree
The generic class SimpleTreeNode holds only the parent, the left most child and the right sibling
SimpleTreeNode(V) - Constructor for class io.github.astrapi69.gen.tree.SimpleTreeNode
Instantiates a new SimpleTreeNode object
SimpleTreeNodeHandlerExtensions - Class in io.github.astrapi69.gen.tree.handler
The class SimpleTreeNodeHandlerExtensions provides handler methods for the class SimpleTreeNode
SimpleTreeNodeHandlerExtensions() - Constructor for class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
 
sortChildren() - Method in interface io.github.astrapi69.gen.tree.api.IBaseTreeNode
Sorts the children collection if the comparator is not null
sortChildren() - Method in class io.github.astrapi69.gen.tree.BaseTreeNode
Sorts the children collection if the comparator is not null

T

toKeyBaseTreeNodeMap(BaseTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.convert.BaseTreeNodeTransformer
Transforms the given BaseTreeNode object to a Map object with the key and the corresponding BaseTreeNode objects
toKeyMap(BaseTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.convert.BaseTreeNodeTransformer
Transforms the given BaseTreeNode object to a Map object with the key and the corresponding TreeIdNode objects
toList() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
toList() - Method in class io.github.astrapi69.gen.tree.binary.LinkedNode
Transforms this linked node object to an ordered LinkedList with all nodes
toList(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Traverse the given SimpleTreeNode object and adds all descendant with it self-included in to a List object
toList(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Traverse the given ITreeNode object and adds all descendant with it self-included in to a List object
toTreeIdNode(BaseTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.convert.BaseTreeNodeTransformer
Transforms the given BaseTreeNode object to a TreeIdNode object
transform(Map<K, TreeIdNode<T, K>>) - Static method in class io.github.astrapi69.gen.tree.convert.BaseTreeNodeTransformer
Transforms the given Map object that contains TreeIdNode objects as values and the id as key
TraversalType - Enum Class in io.github.astrapi69.gen.tree.enumeration.traversal
The enum TraversalType provides the different types of traversing a tree
traverse() - Method in interface io.github.astrapi69.gen.tree.api.ITreeNode
traverse() - Method in class io.github.astrapi69.gen.tree.SimpleTreeNode
Traverse this node and add all descendants with this included in to a Set
traverse(SimpleTreeNode<T, K>) - Static method in class io.github.astrapi69.gen.tree.handler.SimpleTreeNodeHandlerExtensions
Traverse the given SimpleTreeNode object and add all descendants with the given SimpleTreeNode object included in to the returned Collection object
traverse(T) - Static method in class io.github.astrapi69.gen.tree.handler.BaseTreeNodeVisitorHandlerExtensions
Traverse the given IBaseTreeNode object and add all descendants with the given IBaseTreeNode object included in to the returned Collection object
traverse(T) - Static method in class io.github.astrapi69.gen.tree.handler.ITreeNodeHandlerExtensions
Traverse the given ITreeNode object and add all descendants with the given ITreeNode object included in to the returned Collection object
traverse(T) - Static method in class io.github.astrapi69.gen.tree.handler.TreeNodeVisitorHandlerExtensions
Traverse the given ITreeNode object and add all descendants with the given ITreeNode object included in to the returned Collection object
TreeIdNode<T,K> - Class in io.github.astrapi69.gen.tree
The generic class TreeIdNode keeps no references to the parent or the children, only the id's are kept.
TreeIdNode(T) - Constructor for class io.github.astrapi69.gen.tree.TreeIdNode
Instantiates a new TreeIdNode object
TreeNode<T> - Class in io.github.astrapi69.gen.tree
The generic class TreeNode.
TreeNode(T) - Constructor for class io.github.astrapi69.gen.tree.TreeNode
Instantiates a new tree node.
TreeNodeVisitorHandlerExtensions - Class in io.github.astrapi69.gen.tree.handler
The class TreeNodeVisitorHandlerExtensions provides handler methods for the visit all field in the class ITreeNode
TreeNodeVisitorHandlerExtensions() - Constructor for class io.github.astrapi69.gen.tree.handler.TreeNodeVisitorHandlerExtensions
 

V

valueOf(String) - Static method in enum class io.github.astrapi69.gen.tree.enumeration.merge.MergeStrategy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class io.github.astrapi69.gen.tree.enumeration.traversal.TraversalType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class io.github.astrapi69.gen.tree.enumeration.merge.MergeStrategy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class io.github.astrapi69.gen.tree.enumeration.traversal.TraversalType
Returns an array containing the constants of this enum class, in the order they are declared.
visit(T) - Method in class io.github.astrapi69.gen.tree.visitor.BaseMergeTreeNodesVisitor
visit(T) - Method in class io.github.astrapi69.gen.tree.visitor.FindValuesIBaseTreeNodeVisitor
visit(T) - Method in class io.github.astrapi69.gen.tree.visitor.MaxIndexFinderTreeNodeVisitor
visit(T) - Method in class io.github.astrapi69.gen.tree.visitor.ReindexTreeNodeVisitor
A B C F G H I K L M O P R S T V 
All Classes and Interfaces|All Packages|Serialized Form