the map to which the new methods are provided.
Applies a given function to all keys of this map.
Applies a given function to all keys of this map. In case f
is not
injective, the behaviour is undefined.
the function to apply to all keys of this map
the resulting map with the keys mapped with function f
.
Merges a given map with this map.
Merges a given map with this map. The map is constructed as follows:
f(thisValue, thatValue)
;
the map to be merged with this map
the function used to merge two values with the same key
the merged map.
Merges a given map into this map.
Merges a given map into this map. The map is constructed as follows:
that
map are present in the
merged map;f(thisValue, thatValue)
;that
map but not in this map are not
present in the merged map.
the map to be merged into this map
the function used to merge two values with the same key
the merged map.
(Since version 2017/07/13) This will be removed in a future version
check if this method is really useful / needed.
Implicit class that provides new methods for maps.