BuildFromLowPriority2

scala.collection.BuildFromLowPriority2

Attributes

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

Members list

Implicits

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]

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

Attributes

Source
BuildFrom.scala