Packages

object AnyRefMap extends Serializable

Source
AnyRefMap.scala
Linear Supertypes
Serializable, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnyRefMap
  2. Serializable
  3. Serializable
  4. AnyRef
  5. 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 canBuildFrom[K <: AnyRef, V, J <: AnyRef, U]: CanBuildFrom[AnyRefMap[K, V], (J, U), AnyRefMap[J, U]]
  3. def empty[K <: AnyRef, V]: AnyRefMap[K, V]

    Creates a new empty AnyRefMap.

  4. 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): _*).

  5. 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): _*).

  6. def withDefault[K <: AnyRef, V](default: (K) ⇒ V): AnyRefMap[K, V]

    Creates a new empty AnyRefMap with the supplied default