A builder for instances ofLongMap.
Creates a newLongMap with zero or more key/value pairs.
Creates a new emptyLongMap.
Creates a newLongMap from an existing source collection.
Creates a newLongMap from an existing source collection. A source collection which is already aLongMap gets cloned.
the type of the collection’s elements
Source collection
a newLongMap with the elements ofsource
Creates a newLongMap from arrays of keys and values.
Creates a newLongMap from arrays of keys and values. Equivalent to but more efficient thanLongMap((keys zip values): _*).
Creates a newLongMap from keys and values.
Creates a newLongMap from keys and values. Equivalent to but more efficient thanLongMap((keys zip values): _*).
Creates a new emptyLongMap with the supplied default