Type class witnessing that a collection type Repr
has keys of type K
, values of type V
and has a conversion to MapOps[K, V, Iterable, C]
, for some types K
, V
and C
.
This type enables simple enrichment of Map
s with extension methods.
Type parameters
- Repr
-
Collection type (e.g.
Map[Int, String]
)
Attributes
- See also
- Companion
- object
- Source
- IsMap.scala
- Graph
-
- Supertypes
Members list
Type members
Types
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 often Repr
itself, excepted in the case of SeqView[A]
(and other View[A]
subclasses), where it is “only” View[A]
.
Attributes
- Source
- IsIterable.scala
The type of keys
The type of values
Inherited and Abstract types
The type of elements we can traverse over (e.g.
The type of elements we can traverse over (e.g. Int
).
Attributes
- Inherited from:
- IsIterableOnce
- Source
- IsIterableOnce.scala
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 often Repr
itself, excepted in the case of SeqView[A]
(and other View[A]
subclasses), where it is “only” View[A]
.
Attributes
- Inherited from:
- IsIterable
- Source
- IsIterable.scala
Value members
Abstract methods
A conversion from the type Repr
to IterableOps[A, Iterable, C]
A conversion from the type Repr
to MapOps[K, V, Iterable, C]
A conversion from the type Repr
to MapOps[K, V, Iterable, C]
Attributes
- Note
-
The third type parameter of the returned
MapOps
value is stillIterable
(and notMap
) becauseMapView[K, V]
only extendsMapOps[K, V, View, View[A]]
. - Definition Classes
- Source
- IsMap.scala
Deprecated fields
Attributes
- Deprecated
- true
- Source
- IsIterable.scala
Deprecated and Inherited fields
Attributes
- Deprecated
- true
- Inherited from:
- IsIterable
- Source
- IsIterable.scala