Packages

t

scala.collection

MapViewFactory

trait MapViewFactory extends MapFactory[[X, Y]View[(X, Y)]]

Source
MapView.scala
Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapViewFactory
  2. MapFactory
  3. Serializable
  4. AnyRef
  5. Any
Implicitly
  1. by toBuildFrom
  2. by toFactory
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def empty[X, Y]: MapView[X, Y]
    Definition Classes
    MapViewFactoryMapFactory
  2. abstract def from[K, V](it: SomeMapOps[K, V]): MapView[K, V]
  3. abstract def from[K, V](it: IterableOnce[(K, V)]): View[(K, V)]
    Definition Classes
    MapFactory
  4. abstract def newBuilder[X, Y]: Builder[(X, Y), MapView[X, Y]]
    Definition Classes
    MapViewFactoryMapFactory

Concrete Value Members

  1. def apply[K, V](elems: (K, V)*): MapView[K, V]
    Definition Classes
    MapViewFactoryMapFactory
  2. def fromSpecific(from: Any)(it: IterableOnce[(K, V)]): View[(K, V)]
    Implicit
    This member is added by an implicit conversion from MapViewFactory toBuildFrom[Any, (K, V), View[(K, V)]] performed by method toBuildFrom in scala.collection.MapFactory.
    Definition Classes
    BuildFrom
  3. def fromSpecific(it: IterableOnce[(K, V)]): View[(K, V)]

    it

    Source collection

    returns

    A collection of type C containing the same elements as the source collection it.

    Implicit
    This member is added by an implicit conversion from MapViewFactory toFactory[(K, V), View[(K, V)]] performed by method toFactory in scala.collection.MapFactory.
    Definition Classes
    Factory
  4. implicit def mapFactory[K, V]: Factory[(K, V), View[(K, V)]]
    Definition Classes
    MapFactory
  5. def toFactory(from: Any): Factory[(K, V), View[(K, V)]]

    Partially apply a BuildFrom to a Factory

    Partially apply a BuildFrom to a Factory

    Implicit
    This member is added by an implicit conversion from MapViewFactory toBuildFrom[Any, (K, V), View[(K, V)]] performed by method toBuildFrom in scala.collection.MapFactory.
    Definition Classes
    BuildFrom

Shadowed Implicit Value Members

  1. def newBuilder(from: Any): Builder[(K, V), View[(K, V)]]

    Get a Builder for the collection.

    Get a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.

    Implicit
    This member is added by an implicit conversion from MapViewFactory toBuildFrom[Any, (K, V), View[(K, V)]] performed by method toBuildFrom in scala.collection.MapFactory.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mapViewFactory: BuildFrom[Any, (K, V), View[(K, V)]]).newBuilder(from)
    Definition Classes
    BuildFrom
  2. def newBuilder: Builder[(K, V), View[(K, V)]]

    Get a Builder for the collection.

    Get a Builder for the collection. For non-strict collection types this will use an intermediate buffer. Building collections with fromSpecific is preferred because it can be lazy for lazy collections.

    Implicit
    This member is added by an implicit conversion from MapViewFactory toFactory[(K, V), View[(K, V)]] performed by method toFactory in scala.collection.MapFactory.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mapViewFactory: Factory[(K, V), View[(K, V)]]).newBuilder
    Definition Classes
    Factory

Deprecated Value Members

  1. def apply(from: Any): Builder[(K, V), View[(K, V)]]
    Implicit
    This member is added by an implicit conversion from MapViewFactory toBuildFrom[Any, (K, V), View[(K, V)]] performed by method toBuildFrom in scala.collection.MapFactory.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mapViewFactory: BuildFrom[Any, (K, V), View[(K, V)]]).apply(from)
    Definition Classes
    BuildFrom
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use newBuilder() instead of apply()