Type class witnessing that a collection typeRepr has keys of typeK, values of typeV and has a conversion toMapOps[K, V, Iterable, C], for some typesK,V andC.
This type enables simple enrichment ofMaps with extension methods.
Collection type (e.g.Map[Int, String])
The type of elements we can traverse over (e.g.
The type returned by transformation operations that preserve the same elements type (e.g.
The type returned by transformation operations that preserve the same elements type (e.g.filter,take).
In practice, this type is oftenRepr itself, excepted in the case ofSeqView[A] (and otherView[A] subclasses), where it is “only”View[A].
The type of keys
The type of values
The type of elements we can traverse over (e.g.
The type of elements we can traverse over (e.g.Int).
The type returned by transformation operations that preserve the same elements type (e.g.
The type returned by transformation operations that preserve the same elements type (e.g.filter,take).
In practice, this type is oftenRepr itself, excepted in the case ofSeqView[A] (and otherView[A] subclasses), where it is “only”View[A].
A conversion from the typeRepr toIterableOps[A, Iterable, C]
A conversion from the typeRepr toMapOps[K, V, Iterable, C]
A conversion from the typeRepr toMapOps[K, V, Iterable, C]
The third type parameter of the returnedMapOps value is stillIterable (and notMap) becauseMapView[K, V] only extendsMapOps[K, V, View, View[A]].
[Since version 2.13.0]\'conversion\' is now a method named \'apply\'[Since version 2.13.0]\'conversion\' is now a method named \'apply\'