MapViewFactory

scala.collection.MapViewFactory
trait MapViewFactory extends MapFactory[{ type l = [X, Y] =>> View[(X, Y)]; }#<none>]

Attributes

Source
MapView.scala
Graph
Supertypes
trait MapFactory[{ type l = [X, Y] =>> View[(X, Y)]; }#<none>]
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object MapView

Members list

Value members

Abstract methods

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

An empty Map

An empty Map

Attributes

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

Attributes

Source
MapView.scala
def newBuilder[X, Y]: Builder[(X, Y), MapView[X, Y]]

The default builder for Map objects.

The default builder for Map objects.

Attributes

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.

Attributes

Definition Classes
Source
MapView.scala

Inherited and Abstract methods

def from[K, V](it: IterableOnce[(K, V)]): { type l = [X, Y] =>> View[(X, Y)]; }#<none>[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:
MapFactory
Source
Factory.scala

Implicits

Inherited implicits

implicit def mapFactory[K, V]: Factory[(K, V), { type l = [X, Y] =>> View[(X, Y)]; }#<none>[K, V]]

The default Factory instance for maps.

The default Factory instance for maps.

Attributes

Inherited from:
MapFactory
Source
Factory.scala