Movatterモバイル変換


[0]ホーム

URL:


Scala 3
3.7.4
LearnInstallPlaygroundFind A LibraryCommunityBlog
Scala 3
LearnInstallPlaygroundFind A LibraryCommunityBlog
DocsAPI
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL
Scala 3/scala/scala.collection/scala.collection.generic/IsMap

IsMap

scala.collection.generic.IsMap
See theIsMap companion object
traitIsMap[Repr] extendsIsIterable[Repr]

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.

Type parameters

Repr

Collection type (e.g.Map[Int, String])

Attributes

See also
Companion
object
Source
IsMap.scala
Graph
Supertypes
traitIsIterable[Repr]
traitIsIterableOnce[Repr]
classObject
traitMatchable
classAny

Members list

Type members

Types

typeA = (K,V)

The type of elements we can traverse over (e.g.

The type of elements we can traverse over (e.g.Int).

Attributes

Source
IsMap.scala
typeC
Implicitly added byisMapLikeIsIterable

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].

Attributes

Source
IsIterable.scala
typeK

The type of keys

The type of keys

Attributes

Source
IsMap.scala
typeV

The type of values

The type of values

Attributes

Source
IsMap.scala

Inherited and Abstract types

typeA
Implicitly added byisMapLikeIsIterable

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
typeC

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].

Attributes

Inherited from:
IsIterable
Source
IsIterable.scala

Value members

Abstract methods

defapply(coll:Repr):IterableOps[A,Iterable,C]
Implicitly added byisMapLikeIsIterable

A conversion from the typeRepr toIterableOps[A, Iterable, C]

A conversion from the typeRepr toIterableOps[A, Iterable, C]

Attributes

Source
IsIterable.scala
overridedefapply(c:Repr):MapOps[K,V,Tupled[Iterable]#<none>,C]

A conversion from the typeRepr toMapOps[K, V, Iterable, C]

A conversion from the typeRepr toMapOps[K, V, Iterable, C]

Attributes

Note

The third type parameter of the returnedMapOps value is stillIterable (and notMap) becauseMapView[K, V] only extendsMapOps[K, V, View, View[A]].

Definition Classes
Source
IsMap.scala

Deprecated fields

overridevalconversion:Repr=>IterableOps[A,Iterable,C]
Implicitly added byisMapLikeIsIterable

Attributes

Deprecated
[Since version 2.13.0]\'conversion\' is now a method named \'apply\'
Source
IsIterable.scala

Deprecated and Inherited fields

overridevalconversion:Repr=>IterableOps[A,Iterable,C]

Attributes

Deprecated
[Since version 2.13.0]\'conversion\' is now a method named \'apply\'
Inherited from:
IsIterable
Source
IsIterable.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp