java.lang.Object
dev.metaschema.core.metapath.function.library.MapRemove

public final class MapRemove extends Object
Implements the XPath 3.1 map:remove function.
  • Method Details

    • removeItems

      @NonNull public static <V extends ICollectionValue> IMapItem<V> removeItems(@NonNull IMapItem<V> map, @NonNull Collection<? extends IAnyAtomicItem> keys)
      An implementation of XPath 3.1 map:remove.
      Type Parameters:
      V - the type of items in the given Metapath map
      Parameters:
      map - the map of Metapath items that is to be modified
      keys - the keys to remove from the map
      Returns:
      the modified map