| Package | Description |
|---|---|
| org.aksw.deer.util |
| Modifier and Type | Method | Description |
|---|---|---|
TreeX<T> |
TreeX.addChild(TreeX<T> child) |
Add child node to the current tree node
|
TreeX<T> |
TreeX.addParent(TreeX<T> parent) |
Add parent node to the current tree node
|
TreeX<T> |
TreeX.getParent() |
Return the first parent
|
| Modifier and Type | Method | Description |
|---|---|---|
List<TreeX<T>> |
TreeX.getchildren() |
|
List<TreeX<T>> |
TreeX.getChildren() |
|
Set<TreeX<T>> |
TreeX.getLeaves() |
returns tree leaves
|
List<TreeX<T>> |
TreeX.getParents() |
Return all parents
|
| Modifier and Type | Method | Description |
|---|---|---|
TreeX<T> |
TreeX.addChild(TreeX<T> child) |
Add child node to the current tree node
|
TreeX<T> |
TreeX.addParent(TreeX<T> parent) |
Add parent node to the current tree node
|
void |
TreeX.removeChild(TreeX<T> child) |
Remove Child
|
void |
TreeX.setParent(TreeX<T> parent) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
TreeX.setChildren(List<TreeX<T>> children) |
|
void |
TreeX.setParents(List<TreeX<T>> parents) |
| Constructor | Description |
|---|---|
TreeX(List<TreeX<T>> parents,
T value,
TreeX<T> child) |
create tree node with many parents and a single child
|
TreeX(TreeX<T> root) |
Copy constructor
|
TreeX(TreeX<T> parent,
T value,
List<TreeX<T>> childrenlist) |
create tree node with a single parent and many children
|
| Constructor | Description |
|---|---|
TreeX(List<TreeX<T>> parents,
T value,
List<TreeX<T>> childrenlist) |
create tree node with many parents and many children
|
TreeX(List<TreeX<T>> parents,
T value,
TreeX<T> child) |
create tree node with many parents and a single child
|
TreeX(TreeX<T> parent,
T value,
List<TreeX<T>> childrenlist) |
create tree node with a single parent and many children
|
Copyright © 2019. All rights reserved.