On this page
Object Map.Map
This object provides a set of operations to create Iterable
values.
Supertypes | |
---|---|
Self type |
Classlikes
Source
final class Map1[K, +V](key1: K, value1: V) extends AbstractMap[K, V] with StrictOptimizedIterableOps[(K, V), Iterable, Map[K, V]] with Serializable
Source
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
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
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
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
Concrete methods
Source
An empty Map
Source
A collection of type Map generated from given iterable object.
Source
The default builder for Map objects.
Inherited methods
Source
def apply[K, V](elems: (K, V)*): CC[K, V]
A collection of type Map that contains given key/value bindings.
Inherited from | MapFactory |
---|
Inherited implicits
Source
implicit def mapFactory[K, V]: Factory[(K, V), CC[K, V]]
The default Factory instance for maps.
Inherited from | MapFactory |
---|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/collection/immutable/Map$.html