TransitionalMapOps

laika.collection.TransitionalCollectionOps$.TransitionalMapOps
final implicit class TransitionalMapOps[K, V](val map: Map[K, V]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def mapValuesStrict[W](f: V => W): Map[K, W]

Temporary replacement for the mapValues method of the Scala SDK which is deprecated in Scala 2.13 as it had returned a lazy Map instance in contrast to most other methods in strict Maps.

Temporary replacement for the mapValues method of the Scala SDK which is deprecated in Scala 2.13 as it had returned a lazy Map instance in contrast to most other methods in strict Maps.

This is a temporary, strict implementation of mapValues until the SDK offers such a method.

Attributes

Concrete fields

val map: Map[K, V]