Class Tree
java.lang.Object
org.eclipse.net4j.util.collection.Tree
- All Implemented Interfaces:
Comparable<Tree>
- Since:
- 3.23
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static class
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionallChildren
(String name) void
allChildren
(String name, Consumer<Tree> consumer) void
allChildren
(Consumer<Tree> consumer) boolean
byte
double
float
int
long
short
static Tree.Builder
builder()
static Tree.Builder
child
(int index) children()
void
void
int
int
int
indexOfChild
(Tree child) name()
parent()
properties
(String childName) properties
(String childName, String nameAttribute, String valueAttribute) toString()
<DATA> DATA
visit
(BiFunction<Tree, DATA, DATA> visitor, DATA data)
-
Field Details
-
EMPTY
-
-
Method Details
-
name
-
attributes
-
attribute
-
attribute
- Since:
- 3.26
-
attribute
- Since:
- 3.26
-
attribute
- Since:
- 3.26
-
attribute
- Since:
- 3.26
-
attribute
- Since:
- 3.26
-
attribute
- Since:
- 3.26
-
attribute
- Since:
- 3.26
-
attribute
- Since:
- 3.26
-
parent
-
children
-
children
-
children
-
children
-
allChildren
-
allChildren
-
allChildren
-
allChildren
-
child
-
child
-
indexInParent
public int indexInParent() -
indexOfChild
-
properties
-
properties
-
properties
-
visit
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Tree>
-
toString
-
builder
-
builder
-