EvidenceIterableFactory

scala.collection.EvidenceIterableFactory
See theEvidenceIterableFactory 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[_], Ev[_]](delegate: EvidenceIterableFactory[CC, Ev]) extends EvidenceIterableFactory[CC, Ev]

Attributes

Source
Factory.scala
Supertypes
trait EvidenceIterableFactory[CC, Ev]
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
class Delegate[CC]
class Delegate[CC]
class Delegate[CC]
object SortedSet
object SortedSet
object SortedSet
Show all

Implicits

Implicits

implicit def toBuildFrom[Ev[_], A : Ev, CC[_]](factory: EvidenceIterableFactory[CC, Ev]): BuildFrom[Any, A, CC[A]]

Attributes

Source
Factory.scala
implicit def toFactory[Ev[_], A : Ev, CC[_]](factory: EvidenceIterableFactory[CC, Ev]): Factory[A, CC[A]]

Fixes the element type of factory to A

Fixes the element type of factory to A

Type parameters

A

Type of elements

CC

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

Ev

Type constructor of the evidence (usually Ordering or ClassTag)

Value parameters

factory

The factory to fix the element type

Attributes

Returns

A Factory that uses the given factory to build a collection of elements of type A

Source
Factory.scala