object LongMap
- Companion
- class
Type members
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.
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 Params
- A
the type of the collection’s elements
- Value Params
- source
Source collection
- Returns
a new
LongMapwith the elements ofsource
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): _*).
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): _*).