HashMap

@SerialVersionUID(3L) object HashMap extends MapFactory[[K, V] =>> HashMap[K, V]]

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

Companion
class
Source
HashMap.scala
trait MapFactory[[K, V] =>> HashMap[K, V]]
class Object
trait Matchable
class Any

Value members

Concrete methods

The default initial capacity for the hash table

The default load factor for the hash table

def empty[K, V]: HashMap[K, V]
def from[K, V](it: IterableOnce[(K, V)]): HashMap[K, V]
def newBuilder[K, V]: Builder[(K, V), HashMap[K, V]]
def newBuilder[K, V](initialCapacity: Int, loadFactor: Double): Builder[(K, V), HashMap[K, V]]

Inherited methods

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

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

Inherited from
MapFactory
Source
Factory.scala

Implicits

Inherited implicits

implicit def mapFactory[K, V]: Factory[(K, V), HashMap[K, V]]

The default Factory instance for maps.

Inherited from
MapFactory
Source
Factory.scala