MapDecorator

class MapDecorator[C, M <: IsMap[C]](coll: C)(val map: M)
class Object
trait Matchable
class Any

Value members

Concrete methods

def mapV[U](f: V => U): Map[K, U]

Transforms this map by applying a function to every retrieved value.

Transforms this map by applying a function to every retrieved value.

Value Params
f

the function used to transform values of this map.

Returns

an immutable map which has transformed every value to to f(value). The resulting map is a concrete immutable map.

Implicits

Implicits

implicit val map: M