java.lang.Object
dev.metaschema.core.metapath.function.library.MapEntry
Implements the XPath 3.1 map:entry
function.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends ICollectionValue>
IMapItem<T>entry(IAnyAtomicItem key, T value) An implementation of XPath 3.1 map:entry.
-
Method Details
-
entry
@NonNull public static <T extends ICollectionValue> IMapItem<T> entry(@NonNull IAnyAtomicItem key, @NonNull T value) An implementation of XPath 3.1 map:entry.- Type Parameters:
T- the type of items in the given Metapath map- Parameters:
key- the Metapath map entry keyvalue- the Metapath map entry value- Returns:
- a new array containing the modification
-