scala.collection.immutable.ListMap
See theListMap companion class
This object provides a set of operations to create Iterable values.
Note that each element insertion takes O(n) time, which means that creating a list map with n elements will take O(n^2^) time. This makes the builder suitable only for a small number of elements.
Attributes
See also
Companion
class
Source
ListMap.scala
Graph
Reset zoom Hide graph Show graph
Supertypes
Self type
Members list
Type parameters
K
the type of the keys
V
the type of the values
Attributes
Source
ListMap.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
ListMap.scala
Returns a new ListMap builder
Returns a new ListMap builder
The implementation safely handles additions after result() without calling clear()
Type parameters
K
the map key type
V
the map value type
Attributes
Returns
a new ReusableBuilder for creating ListMap instances
Source
ListMap.scala
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
Inherited from:
MapFactory
Source
Factory.scala
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
Inherited from:
MapFactory
Source
Factory.scala