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 object
traitMapFactory[+CC[_,_]] extendsSerializable

Attributes

Companion
object
Source
Factory.scala
Graph
Supertypes
classObject
traitMatchable
classAny
Known subtypes
objectTrieMap
objectHashMap
objectListMap
objectMap
objectSeqMap
objectTreeSeqMap
objectVectorMap
objectHashMap
objectListMap
classDelegate[C]
objectMap
objectSeqMap
objectMap
objectSeqMap
objectMapView
Show all

Members list

Value members

Abstract methods

defempty[K,V]:CC[K,V]

An empty Map

An empty Map

Attributes

Source
Factory.scala
deffrom[K,V](it:IterableOnce[(K,V)]):CC[K,V]

A collection of type Map generated from given iterable object.

A collection of type Map generated from given iterable object.

Attributes

Source
Factory.scala
deffromSpecific(from:From)(it:IterableOnce[A]):C
Implicitly added bytoBuildFrom

Attributes

Source
BuildFrom.scala
Implicitly added bytoFactory

Value parameters

it

Source collection

Attributes

Returns

A collection of typeC containing the same elements as the source collectionit.

Source
Factory.scala
defnewBuilder(from:From):Builder[A,C]
Implicitly added bytoBuildFrom

Get a Builder for the collection.

Get a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections withfromSpecific is preferred because it can be lazy for lazy collections.

Attributes

Source
BuildFrom.scala
Implicitly added bytoFactory

Get a Builder for the collection.

Get a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections withfromSpecific is preferred because it can be lazy for lazy collections.

Attributes

Source
Factory.scala
defnewBuilder[K,V]:Builder[(K,V),CC[K,V]]

The default builder for Map objects.

The default builder for Map objects.

Attributes

Source
Factory.scala

Concrete methods

defapply[K,V](elems: (K,V)*):CC[K,V]

A collection of type Map that contains given key/value bindings.

A collection of type Map that contains given key/value bindings.

Attributes

Source
Factory.scala
deftoFactory(from:From):Factory[A,C]
Implicitly added bytoBuildFrom

Partially apply a BuildFrom to a Factory

Partially apply a BuildFrom to a Factory

Attributes

Source
BuildFrom.scala

Deprecated methods

defapply(from:From):Builder[A,C]
Implicitly added bytoBuildFrom

Attributes

Deprecated
[Since version 2.13.0]Use newBuilder() instead of apply()
Source
BuildFrom.scala

Implicits

Implicits

implicitdefmapFactory[K,V]:Factory[(K,V),CC[K,V]]

The default Factory instance for maps.

The default Factory instance for maps.

Attributes

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