N - type of the object identified by this path.P - Type of container which contains object.public interface Path<N,P extends Path<?,P>>
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends P> |
childs()
Child paths.
|
Class<N> |
clazz()
Class of the object identified by this path.
|
String |
name()
Name of the object identified by this path.
|
N |
node()
Object identified by this path.
|
P |
parent()
Parent path.
|
default java.util.stream.Stream<Path<?,?>> |
stream() |
Class<N> clazz()
N node()
String name()
P parent()
Collection<? extends P> childs()
default java.util.stream.Stream<Path<?,?>> stream()
Copyright © 2021. All rights reserved.