SortedMapFactory

scala.collection.SortedMapFactory$
See theSortedMapFactory companion trait

Attributes

Companion:
trait
Source:
Factory.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

class Delegate[CC[_, _]](delegate: SortedMapFactory[CC]) extends SortedMapFactory[CC]

Attributes

Source:
Factory.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object SortedMap.type
object SortedMap.type
object SortedMap.type

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.

Attributes

CC

Collection type constructor of the factory (e.g. TreeMap)

K

Type of keys

V

Type of values

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

Source:
Factory.scala