Map

scala.collection.mutable.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

Type members

Classlikes

class WithDefault[K, V](val underlying: Map[K, V], val defaultValue: K => V) extends AbstractMap[K, V], MapOps[K, V, Map, WithDefault[K, V]], Serializable

Attributes

Source
Map.scala
Supertypes
trait Serializable
class AbstractMap[K, V]
trait Map[K, V]
trait MapOps[K, V, Map, WithDefault[K, V]]
trait Shrinkable[K]
trait Builder[(K, V), WithDefault[K, V]]
trait Growable[(K, V)]
trait Clearable
trait Cloneable[WithDefault[K, V]]
trait Cloneable
trait Iterable[(K, V)]
class AbstractMap[K, V]
trait Map[K, V]
trait Equals
trait MapOps[K, V, Map, WithDefault[K, V]]
trait PartialFunction[K, V]
trait K => V
class AbstractIterable[(K, V)]
trait Iterable[(K, V)]
trait IterableOps[(K, V), Iterable, WithDefault[K, V]]
trait IterableOnceOps[(K, V), Iterable, WithDefault[K, V]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all
Known subtypes
class WithDefault[K, V]

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