Index

A C F G H I M R S T 
All Classes and Interfaces|All Packages|Serialized Form

A

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

C

clearAll() - Method in interface io.github.astrapi69.tree.api.ITree
Removes all the descendants from this tree node
clearChildren() - Method in interface io.github.astrapi69.tree.api.ITree
Removes all the children from this tree node
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 the first ITree object 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.
getChildAt(int) - Method in interface io.github.astrapi69.tree.api.ITree
Gets the child tree node from the given index
getChildCount() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the child count of this tree node
getChildIndex(T) - Method in interface io.github.astrapi69.tree.api.ITree
Gets the index of the given child in this tree node
getChildren() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the children of this tree node
getDisplayValue() - Method in interface io.github.astrapi69.tree.api.ITree
Gets the optional display value of this tree node
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 of this tree node
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 of this tree node

H

hasChildren() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this tree node has children
hasNextSibling() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this node has a next sibling
hasParent() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this tree node has a parent
hasPreviousSibling() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this node has a previous sibling

I

io.github.astrapi69.tree.api - package io.github.astrapi69.tree.api
 
io.github.astrapisixtynine.tree.api - module io.github.astrapisixtynine.tree.api
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.
isAncestor(T) - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this ITree is an ancestor ITree object
isChild(T) - Method in interface io.github.astrapi69.tree.api.ITree
Checks if the given tree node is a child of this tree node
isDescendant(T) - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this ITree is a descendant ITree object
isLeaf() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this node is a leaf
isNode() - Method in interface io.github.astrapi69.tree.api.ITree
Checks if this node is a 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 represents a generic tree structure

M

move(T) - Method in interface io.github.astrapi69.tree.api.ITree
Moves this ITree object to the new given parent ITree object

R

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

S

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

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
A C F G H I M R S T 
All Classes and Interfaces|All Packages|Serialized Form