java.lang.Object
dev.metaschema.core.metapath.function.library.MapMerge
Implements the XPath 3.1 map:merge
functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic IMapItem<?>merge(Collection<? extends Map<IMapKey, ? extends ICollectionValue>> maps, Map<IMapKey, ? extends ICollectionValue> options) An implementation of XPath 3.1 map:merge.
-
Method Details
-
merge
@NonNull public static IMapItem<?> merge(@NonNull Collection<? extends Map<IMapKey, ? extends ICollectionValue>> maps, @NonNull Map<IMapKey, ? extends ICollectionValue> options) An implementation of XPath 3.1 map:merge.- Parameters:
maps- a collection of maps to mergeoptions- settings that affect the merge behavior- Returns:
- a map containing the merged entries
-