Attributes
- Companion
- object
- Source
- Factory.scala
- Graph
-
- Supertypes
- Known subtypes
-
object TrieMapobject HashMapobject ListMapobject Mapobject SeqMapobject TreeSeqMapobject VectorMapobject HashMapobject LinkedHashMapobject ListMapobject OpenHashMapobject WeakHashMapclass Delegate[C]object Mapobject SeqMapobject Mapobject SeqMaptrait MapViewFactoryobject MapViewShow all
- Self type
-
MapFactory[CC]
Members list
Value members
Abstract methods
An empty Map.
An empty Map.
Type parameters
- K
-
the type of the keys
- V
-
the type of the values
Attributes
- Source
- Factory.scala
A collection of type Map generated from given iterable object.
A collection of type Map generated from given iterable object.
Type parameters
- K
-
the type of the keys
- V
-
the type of the values
Value parameters
- it
-
the source collection of key-value pairs
Attributes
- Source
- Factory.scala
Attributes
- Source
- BuildFrom.scala
Value parameters
- it
-
the source of elements to include in the collection
Attributes
- Returns
-
a collection of type
Ccontaining the elements fromit - Source
- Factory.scala
Gets a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.
Gets a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.
Value parameters
- from
-
the source collection providing the factory for creating the builder
Attributes
- Source
- BuildFrom.scala
Gets a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.
Gets a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.
Attributes
- Source
- Factory.scala
The default builder for Map objects.
The default builder for Map objects.
Type parameters
- K
-
the type of the keys
- V
-
the type of the values
Attributes
- Source
- Factory.scala
Concrete methods
A collection of type Map that contains given key/value bindings.
A collection of type Map that contains given key/value bindings.
Type parameters
- K
-
the type of the keys
- V
-
the type of the values
Value parameters
- elems
-
the key-value pairs to include in the map
Attributes
- Source
- Factory.scala
Partially apply a BuildFrom to a Factory.
Partially apply a BuildFrom to a Factory.
Value parameters
- from
-
the source collection to partially apply, producing a
Factorybound to it
Attributes
- Source
- BuildFrom.scala
Deprecated methods
Attributes
- Deprecated
-
[Since version 2.13.0]Use newBuilder() instead of apply() - Source
- BuildFrom.scala
Implicits
Implicits
The default Factory instance for maps.
The default Factory instance for maps.
Type parameters
- K
-
the type of the keys
- V
-
the type of the values
Attributes
- Source
- Factory.scala