Modifier and Type | Method and Description |
---|---|
boolean |
allowsChildren(E element)
Whether an element can have children.
|
Comparator<? super E> |
getComparator(int depth)
Returns the comparator used to order path elements of the specified depth.
|
void |
getPath(List<E> path,
E element)
Populate path with a list describing the path from a root node to this element.
|
void getPath(List<E> path, E element)
path
- a list that the implementor shall add their path elements to via
path.add()
. This may be a non-empty List and it is an error to call any
method other than add().boolean allowsChildren(E element)
true
if this element can have child elements, or false
if
it is always a leaf node.Comparator<? super E> getComparator(int depth)
null
.Copyright © 2024 levigo holding gmbh. All rights reserved.