| interface | ImmutableTree.TreeVisitor<T, R> | ||
|
ImmutableTree(T value)
|
| boolean |
containsMatchingValue(Predicate<? super T> predicate)
|
| static <V> ImmutableTree<V> | |
| boolean | |
| Path | |
| Path |
findRootMostPathWithValue(Path relativePath)
|
| <R> R |
fold(R accum, TreeVisitor<? super T, R> visitor)
|
| void | |
| T | |
| ImmutableTree<T> | |
| ImmutableSortedMap<ChildKey, ImmutableTree<T>> | |
| T |
getValue()
|
| int |
hashCode()
|
| boolean |
isEmpty()
|
| Iterator<Entry<Path, T>> |
iterator()
|
| T |
leafMostValue(Path relativePath)
|
| T |
leafMostValueMatching(Path path, Predicate<? super T> predicate)
Returns the deepest value found between the root and the specified path that matches the
predicate.
|
| ImmutableTree<T> | |
| T |
rootMostValue(Path relativePath)
|
| T | |
| ImmutableTree<T> | |
| ImmutableTree<T> | |
| ImmutableTree<T> | |
| String |
toString()
|
| Collection<T> |
values()
|
| value | |
|---|---|
| children |
| value |
|---|
| relativePath | |
|---|---|
| predicate |
Returns the deepest value found between the root and the specified path that matches the predicate.
| path | Path along which to look for matching values. |
|---|---|
| predicate | The predicate to evaluate values against. |
| relativePath | |
|---|---|
| predicate |
| relativePath | |
|---|---|
| newTree |