This object provides a set of operations to create Iterable values.
Attributes
- Companion
- class
- Source
- HashMap.scala
- Graph
-
- Supertypes
- Self type
-
HashMap.type
Members list
Value members
Concrete methods
The default initial capacity for the hash table.
The default load factor for the hash table.
An empty Map.
An empty Map.
Type parameters
- K
-
the type of the keys
- V
-
the type of the values
Attributes
- Returns
-
an empty map of type
CC[K, V] - Source
- HashMap.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
- Returns
-
a new map of type
CC[K, V]containing the bindings fromit - Source
- HashMap.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
- Returns
-
a new
Builderthat accepts key-value pairs and produces aCC[K, V] - Source
- HashMap.scala
Attributes
- Source
- HashMap.scala
Inherited 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
- Returns
-
a new map of type
CC[K, V]containing the givenelems - Inherited from:
- MapFactory
- Source
- Factory.scala
Implicits
Inherited 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
- Returns
-
a
Factorythat builds aCC[K, V]from a collection of key-value pairs - Inherited from:
- MapFactory
- Source
- Factory.scala