Packages

object HashMap extends MapFactory[HashMap]

This object provides a set of operations to create mutable.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. final def defaultInitialCapacity: Int

    The default initial capacity for the hash table

  3. final def defaultLoadFactor: Double

    The default load factor for the hash table

  4. def empty[K, V]: HashMap[K, V]

    An empty Map

    An empty Map

    Definition Classes
    HashMapMapFactory
  5. def from[K, V](it: 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
  6. 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
  7. def newBuilder[K, V](initialCapacity: Int, loadFactor: Double): Builder[(K, V), HashMap[K, V]]
  8. def newBuilder[K, V]: Builder[(K, V), HashMap[K, V]]

    The default builder for Map objects.

    The default builder for Map objects.

    Definition Classes
    HashMapMapFactory