Packages

object LongMap extends java.io.Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LongMap
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 buildFromLongMap[V]: BuildFrom[LongMap[_], (Long, V), LongMap[V]]
  3. def empty[V]: LongMap[V]

    Creates a new empty LongMap.

  4. def from[V](source: IterableOnce[(Long, V)]): LongMap[V]

    Creates a new LongMap from an existing source collection.

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

    source

    Source collection

    returns

    a new LongMap with the elements of source

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

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

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

    Creates a new empty LongMap with the supplied default