MapView

scala.collection.MapView$
See theMapView companion trait
object MapView extends MapViewFactory

Attributes

Companion
trait
Source
MapView.scala
Graph
Supertypes
trait MapFactory[<none>]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
MapView.type

Members list

Type members

Classlikes

class Filter[K, +V](underlying: SomeMapOps[K, V], isFlipped: Boolean, p: ((K, V)) => Boolean) extends AbstractMapView[K, V]

Attributes

Source
MapView.scala
Supertypes
class AbstractMapView[K, V]
trait MapView[K, V]
trait MapOps[K, V, <none>, View[(K, V)]]
trait PartialFunction[K, V]
trait K => V
class AbstractView[(K, V)]
trait View[(K, V)]
trait Serializable
class AbstractIterable[(K, V)]
trait Iterable[(K, V)]
trait IterableFactoryDefaults[(K, V), View]
trait IterableOps[(K, V), View, View[(K, V)]]
trait IterableOnceOps[(K, V), View, View[(K, V)]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all
class FilterKeys[K, +V](underlying: SomeMapOps[K, V], p: K => Boolean) extends AbstractMapView[K, V]

Attributes

Source
MapView.scala
Supertypes
class AbstractMapView[K, V]
trait MapView[K, V]
trait MapOps[K, V, <none>, View[(K, V)]]
trait PartialFunction[K, V]
trait K => V
class AbstractView[(K, V)]
trait View[(K, V)]
trait Serializable
class AbstractIterable[(K, V)]
trait Iterable[(K, V)]
trait IterableFactoryDefaults[(K, V), View]
trait IterableOps[(K, V), View, View[(K, V)]]
trait IterableOnceOps[(K, V), View, View[(K, V)]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all
class Id[K, +V](underlying: SomeMapOps[K, V]) extends AbstractMapView[K, V]

Attributes

Source
MapView.scala
Supertypes
class AbstractMapView[K, V]
trait MapView[K, V]
trait MapOps[K, V, <none>, View[(K, V)]]
trait PartialFunction[K, V]
trait K => V
class AbstractView[(K, V)]
trait View[(K, V)]
trait Serializable
class AbstractIterable[(K, V)]
trait Iterable[(K, V)]
trait IterableFactoryDefaults[(K, V), View]
trait IterableOps[(K, V), View, View[(K, V)]]
trait IterableOnceOps[(K, V), View, View[(K, V)]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all
class MapValues[K, +V, +W](underlying: SomeMapOps[K, V], f: V => W) extends AbstractMapView[K, W]

Attributes

Source
MapView.scala
Supertypes
class AbstractMapView[K, W]
trait MapView[K, W]
trait MapOps[K, W, <none>, View[(K, W)]]
trait PartialFunction[K, W]
trait K => W
class AbstractView[(K, W)]
trait View[(K, W)]
trait Serializable
class AbstractIterable[(K, W)]
trait Iterable[(K, W)]
trait IterableFactoryDefaults[(K, W), View]
trait IterableOps[(K, W), View, View[(K, W)]]
trait IterableOnceOps[(K, W), View, View[(K, W)]]
trait IterableOnce[(K, W)]
class Object
trait Matchable
class Any
Show all
class TapEach[K, +V, +U](underlying: SomeMapOps[K, V], f: ((K, V)) => U) extends AbstractMapView[K, V]

Attributes

Source
MapView.scala
Supertypes
class AbstractMapView[K, V]
trait MapView[K, V]
trait MapOps[K, V, <none>, View[(K, V)]]
trait PartialFunction[K, V]
trait K => V
class AbstractView[(K, V)]
trait View[(K, V)]
trait Serializable
class AbstractIterable[(K, V)]
trait Iterable[(K, V)]
trait IterableFactoryDefaults[(K, V), View]
trait IterableOps[(K, V), View, View[(K, V)]]
trait IterableOnceOps[(K, V), View, View[(K, V)]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Show all

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

Attributes

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

Attributes

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.

Attributes

Definition Classes
Source
MapView.scala
override def empty[K, V]: MapView[K, V]

An empty Map

An empty Map

Attributes

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.

Attributes

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

Attributes

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.

Attributes

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.

Attributes

Inherited from:
MapFactory
Source
Factory.scala