HashMap

object HashMap extends MapFactory[HashMap]

This object provides a set of operations to create Iterable values.

Companion:
class
Source:
HashMap.scala
class Object
trait Matchable
class Any
HashMap.type

Value members

Concrete methods

The default initial capacity for the hash table

The default initial capacity for the hash table

Source:
HashMap.scala

The default load factor for the hash table

The default load factor for the hash table

Source:
HashMap.scala
def empty[K, V]: HashMap[K, V]

An empty Map

An empty Map

Source:
HashMap.scala
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.

Source:
HashMap.scala
def newBuilder[K, V]: Builder[(K, V), HashMap[K, V]]

The default builder for Map objects.

The default builder for Map objects.

Source:
HashMap.scala
def newBuilder[K, V](initialCapacity: Int, loadFactor: Double): Builder[(K, V), HashMap[K, V]]

Inherited methods

def apply[K, V](elems: (K, V)*): CC[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
Source:
Factory.scala

Implicits

Inherited implicits

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

The default Factory instance for maps.

The default Factory instance for maps.

Inherited from:
MapFactory
Source:
Factory.scala