Map

@SerialVersionUID(3L)
object Map extends MapFactory[Map]

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

Companion
class
Source
Map.scala
class Object
trait Matchable
class Any

Type members

Classlikes

final
class Map1[K, +V](key1: K, value1: V) extends AbstractMap[K, V] with StrictOptimizedIterableOps[(K, V), Iterable, Map[K, V]] with Serializable
Source
Map.scala
final
class Map2[K, +V](key1: K, value1: V, key2: K, value2: V) extends AbstractMap[K, V] with StrictOptimizedIterableOps[(K, V), Iterable, Map[K, V]] with Serializable
Source
Map.scala
class Map3[K, +V](key1: K, value1: V, key2: K, value2: V, key3: K, value3: V) extends AbstractMap[K, V] with StrictOptimizedIterableOps[(K, V), Iterable, Map[K, V]] with Serializable
Source
Map.scala
final
class Map4[K, +V](key1: K, value1: V, key2: K, value2: V, key3: K, value3: V, key4: K, value4: V) extends AbstractMap[K, V] with StrictOptimizedIterableOps[(K, V), Iterable, Map[K, V]] with Serializable
Source
Map.scala
class WithDefault[K, +V](val underlying: Map[K, V], val defaultValue: K => V) extends AbstractMap[K, V] with MapOps[K, V, Map, WithDefault[K, V]] with Serializable
Source
Map.scala

Value members

Concrete methods

def empty[K, V]: Map[K, V]
Source
Map.scala
def from[K, V](it: IterableOnce[(K, V)]): Map[K, V]
Source
Map.scala
def newBuilder[K, V]: Builder[(K, V), Map[K, V]]
Source
Map.scala

Inherited methods

def apply[K, V](elems: (K, V)*): Map[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), Map[K, V]]

The default Factory instance for maps.

The default Factory instance for maps.

Inherited from
MapFactory
Source
Factory.scala