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 |
|---|---|
| Supertypes | |
| Self type |
An empty Map
A collection of type Map generated from given iterable object.
Returns a new ListMap builder
The implementation safely handles additions after result() without calling clear()
| Type parameters |
|
|---|
A collection of type Map that contains given key/value bindings.
| Inherited from | MapFactory |
|---|
The default Factory instance for maps.
| Inherited from | MapFactory |
|---|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/collection/immutable/ListMap$.html