Attributes
- Companion
- class
- Source
- LongMap.scala
- Graph
-
- Supertypes
- Self type
-
LongMap.type
Members list
Type members
Classlikes
A builder for instances of LongMap.
A builder for instances of LongMap.
This builder can be reused to create multiple instances.
Type parameters
- V
-
the type of the values in the map being built
Attributes
- Source
- LongMap.scala
- Supertypes
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.
Type parameters
- V
-
the type of the values
Value parameters
- elems
-
the key/value pairs to initialize the map with
Attributes
- Source
- LongMap.scala
Creates a new empty LongMap.
Creates a new empty LongMap.
Type parameters
- V
-
the type of the values
Attributes
- Source
- LongMap.scala
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
- V
-
the type of the values
Value parameters
- source
-
the source collection to create the map from
Attributes
- Returns
-
a new
LongMapwith the elements ofsource; ifsourceis already aLongMap, it is cloned - Source
- LongMap.scala
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): _*).
Type parameters
- V
-
the type of the values
Value parameters
- keys
-
the array of
Longkeys - values
-
the array of values corresponding to each key
Attributes
- Source
- LongMap.scala
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): _*).
Type parameters
- V
-
the type of the values
Value parameters
- keys
-
the iterable of
Longkeys - values
-
the iterable of values corresponding to each key
Attributes
- Source
- LongMap.scala
Attributes
- Source
- LongMap.scala
Creates a new empty LongMap with the supplied default.
Creates a new empty LongMap with the supplied default.
Type parameters
- V
-
the type of the values
Value parameters
- default
-
the function mapping keys to default values
Attributes
- Source
- LongMap.scala
Implicits
Implicits
Attributes
- Source
- LongMap.scala
Attributes
- Source
- LongMap.scala
Attributes
- Source
- LongMap.scala