BuildFromLowPriority1

scala.collection.BuildFromLowPriority1

Attributes

Source
BuildFrom.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BuildFrom

Members list

Implicits

Implicits

implicit def buildFromSortedSetOps[CC <: ([X] =>> SortedSet[X] & SortedSetOps[X, CC, _]), A0, A : Ordering]: BuildFrom[CC[A0] & SortedSet[A0], A, CC[A] & SortedSet[A]]

Builds the source collection type from an Iterable with SortedOps.

Builds the source collection type from an Iterable with SortedOps.

Type parameters

A

the element type of the resulting sorted set, which must have an Ordering

A0

the element type of the source sorted set

CC

the higher-kinded type constructor of the sorted set collection (e.g. TreeSet)

Attributes

Returns

a BuildFrom instance that builds a sorted CC[A] (requiring an Ordering[A]) from elements of type A, using the sortedIterableFactory of the source CC[A0]

Source
BuildFrom.scala

Attributes

Source
BuildFrom.scala

Inherited implicits

implicit def buildFromIterableOps[CC <: ([X] =>> Iterable[X] & IterableOps[X, CC, _]), A0, A]: BuildFrom[CC[A0], A, CC[A]]

Builds the source collection type from an IterableOps.

Builds the source collection type from an IterableOps.

Type parameters

A

the element type of the resulting iterable

A0

the element type of the source iterable

CC

the higher-kinded type constructor of the iterable collection (e.g. List, Vector)

Attributes

Returns

a BuildFrom instance that builds a CC[A] from elements of type A, using the iterableFactory of the source CC[A0]

Inherited from:
BuildFromLowPriority2
Source
BuildFrom.scala
implicit def buildFromIterator[A]: BuildFrom[Iterator[_], A, Iterator[A]]

Attributes

Inherited from:
BuildFromLowPriority2
Source
BuildFrom.scala