object SortedMapFactory
- Companion
- class
- Source
- Factory.scala
Type members
Classlikes
Implicits
Implicits
implicit def toBuildFrom[K : Ordering, V, CC[_, _]](factory: SortedMapFactory[CC]): BuildFrom[Any, (K, V), CC[K, V]]
- Source
- Factory.scala
implicit def toFactory[K : Ordering, V, CC[_, _]](factory: SortedMapFactory[CC]): Factory[(K, V), CC[K, V]]
Implicit conversion that fixes the key and value types of factory
to K
and V
,
respectively.
Implicit conversion that fixes the key and value types of factory
to K
and V
,
respectively.
- Type Params
- CC
Collection type constructor of the factory (e.g.
TreeMap
)- 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 typeK
and values of typeV
- Source
- Factory.scala