summaryrefslogtreecommitdiff
path: root/src/parallel-collections/scala/collection/generic/CanBuildFromParallel.scala
blob: 404201b1c20347ee25c604bd30e9600696b32d1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package scala.collection
package generic



import scala.collection.parallel._




/**
 * A base trait for parallel builder factories.
 *
 * @tparam From   the type of the underlying collection that requests a builder to be created
 * @tparam Elem   the element type of the collection to be created
 * @tparam To     the type of the collection to be created
 */
trait CanBuildFromParallel[-From, -Elem, +To] extends CanBuildFrom[From, Elem, To] with Parallel {
  def apply(from: From): Combiner[Elem, To]
  def apply(): Combiner[Elem, To]
}