Package com.vaadin.flow.templatemodel
Class PathLookup<T>
java.lang.Object
com.vaadin.flow.templatemodel.PathLookup<T>
- Type Parameters:
T- the item type
Deprecated.
A map for items that are looked up by hierarchical keys made up of period
separated strings.
For internal use only. May be renamed or removed in a future release.
- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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()Deprecated.Creates an empty path lookup.Deprecated.Gets the item for the provided full path.
-
Method Details
-
compose
Deprecated.Composes a new path lookup that contains all items of this path lookup and all provided items supplemented with the provided path prefix.- Parameters:
newItems- new items to include in the compositionpathPrefix- the prefix to include in the key of all new items- Returns:
- a new path lookup composition
-
empty
Deprecated.Creates an empty path lookup.- Type Parameters:
T- the item type- Returns:
- and empty path lookup
-
getItem
Deprecated.Gets the item for the provided full path.- Parameters:
fullPath- the fully qualified path for which to find an item- Returns:
- the item corresponding to the path, or an empty optional if there is no item
-
LitTemplateinstead. Read more details from the Vaadin blog.