Packages

object LongMap extends Serializable

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

Type Members

  1. final class LongMapBuilder[V] extends ReusableBuilder[(Long, V), LongMap[V]]

    A builder for instances of LongMap.

    A builder for instances of LongMap.

    This builder can be reused to create multiple instances.

Value Members

  1. def apply[V](elems: (Long, V)*): LongMap[V]

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

  2. implicit def canBuildFrom[V, U]: CanBuildFrom[LongMap[V], (Long, U), LongMap[U]]
  3. def empty[V]: LongMap[V]

    Creates a new empty LongMap.

  4. def fromZip[V](keys: collection.Iterable[Long], values: collection.Iterable[V]): LongMap[V]

    Creates a new LongMap from keys and values.

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

  5. def fromZip[V](keys: Array[Long], values: Array[V]): LongMap[V]

    Creates a new LongMap from arrays of keys and values.

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

  6. def withDefault[V](default: (Long) ⇒ V): LongMap[V]

    Creates a new empty LongMap with the supplied default