SortedMapFactory

scala.collection.SortedMapFactory
See theSortedMapFactory companion trait

Attributes

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

Members list

Type members

Classlikes

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

Attributes

Source
Factory.scala
Supertypes
trait SortedMapFactory[CC]
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object SortedMap
object SortedMap
object SortedMap

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 type K and values of type V

Source
Factory.scala