MapFactory

object MapFactory
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

class Delegate[C[_, _]](delegate: MapFactory[C]) extends MapFactory[C]

Implicits

Implicits

implicit def toBuildFrom[K, V, CC[_, _]](factory: MapFactory[CC]): BuildFrom[Any, (K, V), CC[K, V]]
implicit def toFactory[K, V, CC[_, _]](factory: MapFactory[CC]): Factory[(K, V), CC[K, V]]

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 Params
CC

Collection type constructor of the factory (e.g. Map, HashMap, etc.)

K

Type of keys

V

Type of values

Value Params
factory

The factory to fix the key and value types

Returns

A Factory that uses the given factory to build a map with keys of type K and values of type V