object AnyRefMap
- Companion
- class
Type members
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.
Creates a new AnyRefMap
from an existing source collection.
Creates a new AnyRefMap
from an existing source collection. A source collection
which is already an AnyRefMap
gets cloned.
- Type Params
- K
the type of the keys
- V
the type of the values
- Value Params
- source
Source collection
- Returns
a new
AnyRefMap
with the elements ofsource
Creates a new AnyRefMap
from arrays of keys and values.
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 keys and values.
Creates a new AnyRefMap
from keys and values.
Equivalent to but more efficient than AnyRefMap((keys zip values): _*)
.
Implicits
Implicits
implicit def buildFromAnyRefMap[K <: AnyRef, V]: BuildFrom[AnyRefMap[_, _], (K, V), AnyRefMap[K, V]]
implicit def toBuildFrom[K <: AnyRef, V](factory: AnyRefMap): BuildFrom[Any, (K, V), AnyRefMap[K, V]]