Packages

object Map extends MutableMapFactory[Map]

This object provides a set of operations needed to create mutable.Map values. The current default implementation of a mutable.Map is a HashMap.

Source
Map.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Map
  2. MutableMapFactory
  3. MapFactory
  4. GenMapFactory
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class MapCanBuildFrom [A, B] extends CanBuildFrom[Coll, (A, B), CC[A, B]]

    The standard CanBuildFrom class for maps.

    The standard CanBuildFrom class for maps.

    Definition Classes
    GenMapFactory
  2. type Coll = Map[_, _]

    The type constructor of the collection that can be built by this factory

    The type constructor of the collection that can be built by this factory

    Definition Classes
    GenMapFactory
  3. class WithDefault [K, V] extends Map.WithDefault[K, V] with Map[K, V]

Value Members

  1. def apply[A, B](elems: (A, B)*): Map[A, B]

    A collection of type Map that contains given key/value bindings.

    A collection of type Map that contains given key/value bindings.

    A

    the type of the keys

    B

    the type of the associated values

    elems

    the key/value pairs that make up the map

    returns

    a new map consisting key/value pairs given by elems.

    Definition Classes
    GenMapFactory
  2. implicit def canBuildFrom[K, V]: CanBuildFrom[Coll, (K, V), Map[K, V]]

    The standard CanBuildFrom instance for mutable.Map objects.

  3. def empty[K, V]: Map[K, V]

    An empty mutable.Map

    An empty mutable.Map

    Definition Classes
    MapMapFactoryGenMapFactory
  4. def newBuilder[A, B]: Builder[(A, B), Map[A, B]]

    The default builder for Map objects.

    The default builder for Map objects.

    A

    the type of the keys

    B

    the type of the associated values

    Definition Classes
    MutableMapFactoryGenMapFactory