MapFactory (original) (raw)
scala.collection.MapFactory
See theMapFactory companion trait
Members list
Fixes the key and value types of factory
to K
and V
, respectively
Fixes the key and value types of factory
to K
and V
, respectively
Type parameters
CC
Collection type constructor of the factory (e.g. Map
, HashMap
, etc.)
K
Type of keys
V
Type of values
Value parameters
factory
The factory to fix the key and value types
Attributes
Returns
A Factory that uses the given factory
to build a map with keys of type K
and values of type V
Source
In this article