Packages

t

scala.collection.generic

CanCombineFrom

trait CanCombineFrom[-From, -Elem, +To] extends CanBuildFrom[From, Elem, To] with Parallel

A base trait for parallel builder factories.

From

the type of the underlying collection that requests a builder to be created.

Elem

the element type of the collection to be created.

To

the type of the collection to be created.

Source
CanCombineFrom.scala
Since

2.8

Linear Supertypes
Parallel, CanBuildFrom[From, Elem, To], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CanCombineFrom
  2. Parallel
  3. CanBuildFrom
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(): Combiner[Elem, To]

    Creates a new builder from scratch.

    Creates a new builder from scratch.

    returns

    a builder for collections of type To with element type Elem.

    Definition Classes
    CanCombineFromCanBuildFrom
    See also

    scala.collection.breakOut

  2. abstract def apply(from: From): Combiner[Elem, To]

    Creates a new builder on request of a collection.

    Creates a new builder on request of a collection.

    from

    the collection requesting the builder to be created.

    returns

    a builder for collections of type To with element type Elem. The collections framework usually arranges things so that the created builder will build the same kind of collection as from.

    Definition Classes
    CanCombineFromCanBuildFrom