Attributes
Members list
Type members
Classlikes
A builder for instances of LongMap.
Value members
Concrete methods
Creates a new LongMap with zero or more key/value pairs.
Creates a new LongMap with zero or more key/value pairs.
Attributes
Creates a new LongMap from an existing source collection. A source collection which is already a LongMap gets cloned.
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
LongMapwith the elements ofsource
Creates a new LongMap from arrays of keys and values. Equivalent to but more efficient than LongMap((keys zip values): _*).
Creates a new LongMap from arrays of keys and values. Equivalent to but more efficient than LongMap((keys zip values): _*).
Attributes
Creates a new LongMap from keys and values. Equivalent to but more efficient than LongMap((keys zip values): _*).
Creates a new LongMap from keys and values. Equivalent to but more efficient than LongMap((keys zip values): _*).