LongMap (original) (raw)

scala.collection.mutable.LongMap

See theLongMap companion class

Members list

A builder for instances of LongMap.

A builder for instances of LongMap.

This builder can be reused to create multiple instances.

Attributes

Source

LongMap.scala

Supertypes

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

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

Attributes

Source

LongMap.scala

Creates a new empty LongMap.

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.

Type parameters

A

the type of the collection’s elements

Value parameters

source

Source collection

Attributes

Returns

a new LongMap with the elements of source

Source

LongMap.scala

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

Attributes

Source

LongMap.scala

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

Attributes

Source

LongMap.scala

Creates a new empty LongMap with the supplied default

Creates a new empty LongMap with the supplied default

Attributes

Source

LongMap.scala

In this article