Packages

object AnyRefMap extends java.io.Serializable

Source
AnyRefMap.scala
Linear Supertypes
java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnyRefMap
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class AnyRefMapBuilder[K <: AnyRef, V] extends ReusableBuilder[(K, V), AnyRefMap[K, V]]

    A builder for instances of AnyRefMap.

    A builder for instances of AnyRefMap.

    This builder can be reused to create multiple instances.

Value Members

  1. def apply[K <: AnyRef, V](elems: (K, V)*): AnyRefMap[K, V]

    Creates a new AnyRefMap with zero or more key/value pairs.

  2. implicit def buildFromAnyRefMap[K <: AnyRef, V]: BuildFrom[AnyRefMap[_, _], (K, V), AnyRefMap[K, V]]
  3. def empty[K <: AnyRef, V]: AnyRefMap[K, V]

    Creates a new empty AnyRefMap.

  4. def from[K <: AnyRef, V](source: IterableOnce[(K, V)]): AnyRefMap[K, V]

    Creates a new AnyRefMap from an existing source collection.

    Creates a new AnyRefMap from an existing source collection. A source collection which is already an AnyRefMap gets cloned.

    K

    the type of the keys

    V

    the type of the values

    source

    Source collection

    returns

    a new AnyRefMap with the elements of source

  5. def fromZip[K <: AnyRef, V](keys: Iterable[K], values: Iterable[V]): AnyRefMap[K, V]

    Creates a new AnyRefMap from keys and values.

    Creates a new AnyRefMap from keys and values. Equivalent to but more efficient than AnyRefMap((keys zip values): _*).

  6. def fromZip[K <: AnyRef, V](keys: Array[K], values: Array[V]): AnyRefMap[K, V]

    Creates a new AnyRefMap from arrays of keys and values.

    Creates a new AnyRefMap from arrays of keys and values. Equivalent to but more efficient than AnyRefMap((keys zip values): _*).

  7. implicit def iterableFactory[K <: AnyRef, V]: Factory[(K, V), AnyRefMap[K, V]]
  8. def newBuilder[K <: AnyRef, V]: ReusableBuilder[(K, V), AnyRefMap[K, V]]
  9. implicit def toBuildFrom[K <: AnyRef, V](factory: AnyRefMap.type): BuildFrom[Any, (K, V), AnyRefMap[K, V]]
  10. implicit def toFactory[K <: AnyRef, V](dummy: AnyRefMap.type): Factory[(K, V), AnyRefMap[K, V]]
  11. def withDefault[K <: AnyRef, V](default: (K) => V): AnyRefMap[K, V]

    Creates a new empty AnyRefMap with the supplied default