MapMapValues<K, V> extension

on

Methods

mapValues<R>(R transform(MapEntry<K, V>)) Map<K, R>
Returns a new map with entries having the keys of this map and the values obtained by applying the transform function to each entry in this Map.