HashMap

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

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

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

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

Value members

Concrete methods

def empty[K, V]: HashMap[K, V]
def from[K, V](source: IterableOnce[(K, V)]): HashMap[K, V]
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.

Inherited methods

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.

Inherited from
MapFactory

Implicits

Inherited implicits

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

The default Factory instance for maps.

The default Factory instance for maps.

Inherited from
MapFactory