Map

scala.collection.Map$
See theMap companion trait
object Map extends Delegate[Map]

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

Attributes

Companion
trait
Source
Map.scala
Graph
Supertypes
class Delegate[Map]
trait MapFactory[Map]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Map.type

Members list

Value members

Inherited methods

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

A collection of type Map that contains given key/value bindings.

A collection of type Map that contains given key/value bindings.

Attributes

Definition Classes
Inherited from:
Delegate
Source
Factory.scala
def empty[K, V]: C[K, V]

An empty Map

An empty Map

Attributes

Inherited from:
Delegate
Source
Factory.scala
def from[K, V](it: IterableOnce[(K, V)]): C[K, V]

A collection of type Map generated from given iterable object.

A collection of type Map generated from given iterable object.

Attributes

Inherited from:
Delegate
Source
Factory.scala
def newBuilder[K, V]: Builder[(K, V), C[K, V]]

The default builder for Map objects.

The default builder for Map objects.

Attributes

Inherited from:
Delegate
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.

Attributes

Inherited from:
MapFactory
Source
Factory.scala