MapView

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

Type members

Classlikes

class Filter[K, +V](underlying: SomeMapOps[K, V], isFlipped: Boolean, p: ((K, V)) => Boolean) extends AbstractMapView[K, V]
class FilterKeys[K, +V](underlying: SomeMapOps[K, V], p: K => Boolean) extends AbstractMapView[K, V]
class Id[K, +V](underlying: SomeMapOps[K, V]) extends AbstractMapView[K, V]
class MapValues[K, +V, +W](underlying: SomeMapOps[K, V], f: V => W) extends AbstractMapView[K, W]
class TapEach[K, +V, +U](underlying: SomeMapOps[K, V], f: ((K, V)) => U) extends AbstractMapView[K, V]

Types

type SomeIterableConstr[X, Y] = IterableOps[_, AnyConstr, _]

An IterableOps whose collection type and collection type constructor are unknown

An IterableOps whose collection type and collection type constructor are unknown

Source:
MapView.scala
type SomeMapOps[K, +V] = MapOps[K, V, SomeIterableConstr, _]

A MapOps whose collection type and collection type constructor are (mostly) unknown

A MapOps whose collection type and collection type constructor are (mostly) unknown

Source:
MapView.scala

Value members

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
override def empty[K, V]: MapView[K, V]

An empty Map

An empty Map

Definition Classes
Source:
MapView.scala
override def from[K, V](it: IterableOnce[(K, V)]): View[(K, V)]

A collection of type Map generated from given iterable object.

A collection of type Map generated from given iterable object.

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

The default builder for Map objects.

The default builder for Map objects.

Definition Classes
Source:
MapView.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