| Package | Description |
|---|---|
| de.alpharogroup.tree |
Provides classes for abstract trees and nodes.
|
| de.alpharogroup.tree.ifaces |
Provides interfaces for abstract trees and nodes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TreeNode<T>
The generic class TreeNode.
|
| Modifier and Type | Method and Description |
|---|---|
ITreeNode<T> |
TreeNode.getNextSibling()
Returns the next sibling of this node in the parent's children list.
|
ITreeNode<T> |
TreeNode.getParent()
Gets the parent.
|
ITreeNode<T> |
TreeNode.getPreviousSibling()
Returns the previous sibling of this node in the parent's children list.
|
| Modifier and Type | Method and Description |
|---|---|
List<ITreeNode<T>> |
TreeNode.getAllSiblings()
Returns all siblings of this node in the parent's children list.
|
List<ITreeNode<T>> |
TreeNode.getChildren()
Gets the children.
|
List<ITreeNode<T>> |
TreeNode.toList()
To list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeNode.addChild(ITreeNode<T> child)
Adds the child.
|
void |
TreeNode.addChildAt(int index,
ITreeNode<T> child)
Adds the child.
|
boolean |
TreeNode.equals(ITreeNode<T> treeNode)
Equals.
|
void |
TreeNode.removeChild(ITreeNode<T> child)
Removes the child.
|
void |
TreeNode.setParent(ITreeNode<T> parent)
Sets the parent.
|
void |
TreeNode.traverse(ITreeNode<T> node,
List<ITreeNode<T>> list)
Traverse.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TreeNode.setChildren(List<ITreeNode<T>> children)
Sets the children.
|
void |
TreeNode.traverse(ITreeNode<T> node,
List<ITreeNode<T>> list)
Traverse.
|
| Modifier and Type | Method and Description |
|---|---|
ITreeNode<T> |
ITreeNode.getNextSibling()
Returns the next sibling of this node in the parent's children list.
|
ITreeNode<T> |
ITreeNode.getParent()
Gets the parent.
|
ITreeNode<T> |
ITreeNode.getPreviousSibling()
Returns the previous sibling of this node in the parent's children list.
|
| Modifier and Type | Method and Description |
|---|---|
List<ITreeNode<T>> |
ITreeNode.getAllSiblings()
Returns all siblings of this node in the parent's children list.
|
List<ITreeNode<T>> |
ITreeNode.getChildren()
Gets the children.
|
List<ITreeNode<T>> |
ITreeNode.toList()
To list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ITreeNode.addChild(ITreeNode<T> child)
Adds the child.
|
void |
ITreeNode.addChildAt(int index,
ITreeNode<T> child)
Adds the child.
|
boolean |
ITreeNode.equals(ITreeNode<T> treeNode)
Equals.
|
void |
ITreeNode.removeChild(ITreeNode<T> child)
Removes the child.
|
void |
ITreeNode.setParent(ITreeNode<T> parent)
Sets the parent.
|
void |
ITreeNode.traverse(ITreeNode<T> node,
List<ITreeNode<T>> list)
Traverse.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ITreeNode.setChildren(List<ITreeNode<T>> children)
Sets the children.
|
void |
ITreeNode.traverse(ITreeNode<T> node,
List<ITreeNode<T>> list)
Traverse.
|
Copyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.