scala.collection.SortedMapFactory
See theSortedMapFactory companion trait
object SortedMapFactory
Attributes
- Companion
- trait
- Source
- Factory.scala
- Graph
-
- Supertypes
- Self type
-
SortedMapFactory.type
Members list
Type members
Classlikes
class Delegate[CC[_, _]](delegate: SortedMapFactory[CC]) extends SortedMapFactory[CC]
Attributes
- Source
- Factory.scala
- Supertypes
- Known subtypes
Implicits
Implicits
implicit def toBuildFrom[K : Ordering, V, CC[_, _]](factory: SortedMapFactory[CC]): BuildFrom[Any, (K, V), CC[K, V]]
Attributes
- 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 parameters
- CC
-
Collection type constructor of the factory (e.g.
TreeMap
) - 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 typeK
and values of typeV
- Source
- Factory.scala
In this article