Packages

object HashMap extends MapFactory[HashMap]

This object provides a set of operations to create immutable.HashMap values.

Annotations
@SerialVersionUID()
Source
HashMap.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HashMap
  2. MapFactory
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[K, V](elems: (K, V)*): HashMap[K, V]

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

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

    Definition Classes
    MapFactory
  2. def empty[K, V]: HashMap[K, V]

    An empty Map

    An empty Map

    Definition Classes
    HashMapMapFactory
  3. def from[K, V](source: IterableOnce[(K, V)]): HashMap[K, V]

    A collection of type Map generated from given iterable object.

    A collection of type Map generated from given iterable object.

    Definition Classes
    HashMapMapFactory
  4. implicit def mapFactory[K, V]: Factory[(K, V), HashMap[K, V]]

    The default Factory instance for maps.

    The default Factory instance for maps.

    Definition Classes
    MapFactory
  5. def newBuilder[K, V]: ReusableBuilder[(K, V), HashMap[K, V]]

    Create a new Builder which can be reused after calling result() without an intermediate call to clear() in order to build multiple related results.

    Create a new Builder which can be reused after calling result() without an intermediate call to clear() in order to build multiple related results.

    Definition Classes
    HashMapMapFactory