scala / 3.1 / scala / collection / mapviewfactory.html

Trait scala.collection.MapViewFactory

trait MapViewFactory extends MapFactory[<none>]

Supertypes
Known subtypes

Abstract methods

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

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

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

Concrete methods

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

Definition Classes MapFactory

Inherited methods

Source
def from[K, V](it: IterableOnce[(K, V)]): K <none> V

A collection of type Map generated from given iterable object.

Inherited from MapFactory

Inherited implicits

Source
implicit def mapFactory[K, V]: Factory[(K, V), K <none> 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/MapViewFactory.html