Packages

c

scala.collection.generic

MutableMapFactory

abstract class MutableMapFactory[CC[A, B] <: mutable.Map[A, B] with mutable.MapLike[A, B, CC[A, B]]] extends MapFactory[CC]

A template for companion objects of mutable.Map and subclasses thereof.

Source
MutableMapFactory.scala
Since

2.8

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MutableMapFactory
  2. MapFactory
  3. GenMapFactory
  4. AnyRef
  5. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MutableMapFactory()

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 = CC[_, _]

    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

Abstract Value Members

  1. abstract def empty[A, B]: CC[A, B]

    An empty Map

    An empty Map

    Definition Classes
    MapFactoryGenMapFactory

Concrete Value Members

  1. def apply[A, B](elems: (A, B)*): CC[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. def newBuilder[A, B]: Builder[(A, B), CC[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
  3. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from MutableMapFactory[CC] to CollectionsHaveToParArray[MutableMapFactory[CC], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (MutableMapFactory[CC]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray