scala / 3.1 / scala / collection / map$.html

Object scala.collection.Map

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

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

Supertypes
Self type

Inherited methods

Source
override def apply[K, V](elems: (K, V)*): Map[K, V]

Definition Classes Delegate -> MapFactory
Inherited from Delegate

Source
def empty[K, V]: Map[K, V]

Inherited from Delegate

Source
def from[K, V](it: IterableOnce[(K, V)]): Map[K, V]

Inherited from Delegate

Source
def newBuilder[K, V]: Builder[(K, V), Map[K, V]]

Inherited from Delegate

Inherited implicits

Source
implicit def mapFactory[K, V]: Factory[(K, V), Map[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.1.1/scala/collection/Map$.html