A C F G H I R S T 
All Classes All Packages

A

addChild(T) - Method in interface io.github.astrapi69.tree.api.ITree
Adds the given child
addChildren(Collection<T>) - Method in interface io.github.astrapi69.tree.api.ITree
Adds all the given children

C

clearAll() - Method in interface io.github.astrapi69.tree.api.ITree
Removes all the descendants
clearChildren() - Method in interface io.github.astrapi69.tree.api.ITree
Removes all the children
contains(T) - Method in interface io.github.astrapi69.tree.api.ITree
Checks if the given ITree object is a descendant of this tree node
containsAll(Collection<T>) - Method in interface io.github.astrapi69.tree.api.ITree
Checks if the given Collection object of ITree objects are descendants of this tree node

F

findAllByValue(V) - Method in interface io.github.astrapi69.tree.api.ITree
Find all ITree objects that have the same value as the given value
findByValue(V) - Method in interface io.github.astrapi69.tree.api.ITree
Find all ITree objects that have the same value as the given value

G

getAllSiblings() - Method in interface io.github.astrapi69.tree.api.ITree
Returns all siblings of this node in the parent's children list.
getChildCount() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the child count.
getChildren() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the children.
getDisplayValue() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the optional display value.
getLevel() - Method in interface io.github.astrapi69.tree.api.ITree
Returns the distance from the root to this node.
getNextSibling() - Method in interface io.github.astrapi69.tree.api.ITree
Returns the next sibling of this node in the parent's children list.
getParent() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the parent.
getPreviousSibling() - Method in interface io.github.astrapi69.tree.api.ITree
Returns the previous sibling of this node in the parent's children list.
getRoot() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the root object
getValue() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the value.

H

hasChildren() - Method in interface io.github.astrapi69.tree.api.ITree
Checks for children.
hasParent() - Method in interface io.github.astrapi69.tree.api.ITree
Checks for parent

I

io.github.astrapi69.tree.api - package io.github.astrapi69.tree.api
 
isLeaf() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if is leaf.
isNode() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if is node.
isRoot() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this ITree is the root ITree object
ITree<V,​T> - Interface in io.github.astrapi69.tree.api
The Interface ITree holds the children in a Collection object

R

removeChild(T) - Method in interface io.github.astrapi69.tree.api.ITree
Removes the child.
removeChildren() - Method in interface io.github.astrapi69.tree.api.ITree
Removes all the children
removeChildren(Collection<T>) - Method in interface io.github.astrapi69.tree.api.ITree
Removes all the given children

S

setChildren(Collection<T>) - Method in interface io.github.astrapi69.tree.api.ITree
Sets the children.
setDisplayValue(String) - Method in interface io.github.astrapi69.tree.api.ITree
Sets the optional display value.
setLeaf(boolean) - Method in interface io.github.astrapi69.tree.api.ITree
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.ITree
Sets the parent.
setValue(V) - Method in interface io.github.astrapi69.tree.api.ITree
Sets the value.

T

toList() - Method in interface io.github.astrapi69.tree.api.ITree
Traverse this node and adds all descendant with this included in to a List object
traverse() - Method in interface io.github.astrapi69.tree.api.ITree
Traverse this node and adds all descendant with this included in to a Collection object
tree.api.main - module tree.api.main
The MIT License Copyright (C) 2022 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.
A C F G H I R S T 
All Classes All Packages