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(n2) time. This makes the builder suitable only for a small number of elements.
- See also:
"Scala's Collection Library overview" section on
List Maps
for more information.- Companion:
- class
- Source:
- ListMap.scala
Value members
Concrete methods
A collection of type Map generated from given iterable object.
A collection of type Map generated from given iterable object.
- 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
- Source:
- ListMap.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.
- Inherited from:
- MapFactory
- Source:
- Factory.scala
Implicits
Inherited implicits
The default Factory instance for maps.
The default Factory instance for maps.
- Inherited from:
- MapFactory
- Source:
- Factory.scala