T - the item typepublic class PathLookup<T> extends Object
For internal use only. May be renamed or removed in a future release.
| Modifier and Type | Method and Description |
|---|---|
PathLookup<T> |
compose(Map<String,T> newItems,
String pathPrefix)
Composes a new path lookup that contains all items of this path lookup
and all provided items supplemented with the provided path prefix.
|
static <T> PathLookup<T> |
empty()
Creates an empty path lookup.
|
Optional<T> |
getItem(String fullPath)
Gets the item for the provided full path.
|
public PathLookup<T> compose(Map<String,T> newItems, String pathPrefix)
newItems - new items to include in the compositionpathPrefix - the prefix to include in the key of all new itemspublic static <T> PathLookup<T> empty()
T - the item typeCopyright © 2025. All rights reserved.