AnyRefMap (original) (raw)
scala.collection.mutable.AnyRefMap
See theAnyRefMap companion class
Attributes
Companion
Deprecated
[Since version 2.13.16]
Use `scala.collection.mutable.HashMap` instead for better performance.
Source
Graph
Supertypes
Self type
Members list
A builder for instances of AnyRefMap
.
A builder for instances of AnyRefMap
.
This builder can be reused to create multiple instances.
Attributes
Source
Supertypes
Creates a new AnyRefMap
with zero or more key/value pairs.
Creates a new AnyRefMap
with zero or more key/value pairs.
Attributes
Source
Creates a new empty AnyRefMap
.
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 parameters
K
the type of the keys
V
the type of the values
Value parameters
source
Source collection
Attributes
Returns
a new AnyRefMap
with the elements of source
Source
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): _*)
.
Attributes
Source
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): _*)
.
Attributes
Source
Creates a new empty AnyRefMap
with the supplied default
Creates a new empty AnyRefMap
with the supplied default
Attributes
Source
In this article