java.lang.Object
dev.metaschema.core.metapath.function.library.MapGet
Implements the XPath 3.1
map:get
function.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V extends ICollectionValue>
Vget(IMapItem<V> map, IAnyAtomicItem key) An implementation of XPath 3.1 map:get.
-
Method Details
-
get
@Nullable public static <V extends ICollectionValue> V get(@NonNull IMapItem<V> map, @NonNull IAnyAtomicItem key) An implementation of XPath 3.1 map:get.- Type Parameters:
V- the type of items in the given Metapath map- Parameters:
map- the map of Metapath items that is the target of retrievalkey- the key for the item to retrieve- Returns:
- the retrieved item
-