summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/generic/CanCombineFrom.scala
blob: b56dab97949fc2d3e46bb4d3d49edb2454b1f272 (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
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 CanCombineFrom[-From, -Elem, +To] extends CanBuildFrom[From, Elem, To] with Parallel {
  def apply(from: From): Combiner[Elem, To]
  def apply(): Combiner[Elem, To]
}