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/MapFactory

MapFactory

scala.collection.MapFactory
See theMapFactory companion trait

Attributes

Companion
trait
Source
Factory.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Self type

Members list

Type members

Classlikes

classDelegate[C[_,_]](delegate:MapFactory[C]) extendsMapFactory[C]

Attributes

Source
Factory.scala
Supertypes
traitMapFactory[C]
classObject
traitMatchable
classAny
Known subtypes
objectMap
objectSeqMap
objectMap
objectSeqMap

Implicits

Implicits

implicitdeftoBuildFrom[K,V,CC[_,_]](factory:MapFactory[CC]):BuildFrom[Any, (K,V),CC[K,V]]

Attributes

Source
Factory.scala
implicitdeftoFactory[K,V,CC[_,_]](factory:MapFactory[CC]):Factory[(K,V),CC[K,V]]

Fixes the key and value types offactory toK andV, respectively

Fixes the key and value types offactory toK andV, respectively

Type parameters

CC

Collection type constructor of the factory (e.g.Map,HashMap, etc.)

K

Type of keys

V

Type of values

Value parameters

factory

The factory to fix the key and value types

Attributes

Returns

AFactory that uses the givenfactory to build a map with keys of typeK and values of typeV

Source
Factory.scala
In this article
Generated with
Copyright (c) 2002-2025, LAMP/EPFL
Copyright (c) 2002-2025, LAMP/EPFL

[8]ページ先頭

©2009-2025 Movatter.jp