Packages

object ListMap extends MapFactory[ListMap]

This object provides a set of operations to create ListMap 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.

Annotations
@SerialVersionUID()
Source
ListMap.scala
Since

1

See also

"Scala's Collection Library overview" section on List Maps for more information.

Linear Supertypes
MapFactory[ListMap], java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ListMap
  2. MapFactory
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[K, V](elems: (K, V)*): ListMap[K, V]
    Definition Classes
    MapFactory
  2. def empty[K, V]: ListMap[K, V]
    Definition Classes
    ListMapMapFactory
  3. def from[K, V](it: IterableOnce[(K, V)]): ListMap[K, V]
    Definition Classes
    ListMapMapFactory
  4. implicit def mapFactory[K, V]: Factory[(K, V), ListMap[K, V]]
    Definition Classes
    MapFactory
  5. def newBuilder[K, V]: ReusableBuilder[(K, V), ListMap[K, V]]

    Returns a new ListMap builder

    Returns a new ListMap builder

    The implementation safely handles additions after result() without calling clear()

    K

    the map key type

    V

    the map value type

    Definition Classes
    ListMapMapFactory