MapViewFactory

trait MapViewFactory extends MapFactory[<none>]
trait MapFactory[<none>]
class Object
trait Matchable
class Any
object MapView.type

Value members

Abstract methods

def empty[X, Y]: MapView[X, Y]

An empty Map

An empty Map

Source:
MapView.scala
def from[K, V](it: SomeMapOps[K, V]): MapView[K, V]
def newBuilder[X, Y]: Builder[(X, Y), MapView[X, Y]]

The default builder for Map objects.

The default builder for Map objects.

Source:
MapView.scala

Concrete methods

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

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

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

Definition Classes
Source:
MapView.scala

Inherited methods

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

A collection of type Map generated from given iterable object.

A collection of type Map generated from given iterable object.

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

Inherited from:
MapFactory
Source:
Factory.scala