Attributes
Members list
Type members
Classlikes
A builder for instances of AnyRefMap.
Value members
Concrete methods
Creates a new AnyRefMap with zero or more key/value pairs.
Creates a new AnyRefMap with zero or more key/value pairs.
Attributes
Creates a new empty AnyRefMap.
Creates a new empty AnyRefMap.
Attributes
Creates a new AnyRefMap from an existing source collection. A source collection which is already an AnyRefMap gets cloned.
Creates a new AnyRefMap from an existing source collection. A source collection which is already an AnyRefMap gets cloned.
Type parameters
- K
-
the type of the keys
- V
-
the type of the values
Value parameters
- source
-
Source collection
Attributes
- Returns
-
a new
AnyRefMapwith the elements ofsource
Creates a new AnyRefMap from arrays of keys and values. Equivalent to but more efficient than AnyRefMap((keys zip values): _*).
Creates a new AnyRefMap from arrays of keys and values. Equivalent to but more efficient than AnyRefMap((keys zip values): _*).
Attributes
Creates a new AnyRefMap from keys and values. Equivalent to but more efficient than AnyRefMap((keys zip values): _*).
Creates a new AnyRefMap from keys and values. Equivalent to but more efficient than AnyRefMap((keys zip values): _*).