Packages

class GenericCanBuildFrom[A] extends CanBuildFrom[CC[_], A, CC[A]]

A generic implementation of the CanBuildFrom trait, which forwards all calls to apply(from) to the genericBuilder method of collection from, and which forwards all calls of apply() to the newBuilder method of this factory.

Source
GenTraversableFactory.scala
Linear Supertypes
CanBuildFrom[CC[_], A, CC[A]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenericCanBuildFrom
  2. CanBuildFrom
  3. AnyRef
  4. Any
Implicitly
  1. by CollectionsHaveToParArray
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenericCanBuildFrom()

Value Members

  1. def apply(): Builder[A, CC[A]]

    Creates a new builder from scratch

    Creates a new builder from scratch

    returns

    the result of invoking the newBuilder method of this factory.

    Definition Classes
    GenericCanBuildFromCanBuildFrom
  2. def apply(from: GenTraversableFactory.Coll): Builder[A, CC[A]]

    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

    the result of invoking the genericBuilder method on from.

    Definition Classes
    GenericCanBuildFromCanBuildFrom
  3. def toParArray: ParArray[T]
    Implicit
    This member is added by an implicit conversion from GenericCanBuildFrom[A] to CollectionsHaveToParArray[GenericCanBuildFrom[A], T] performed by method CollectionsHaveToParArray in scala.collection.parallel. This conversion will take place only if an implicit value of type (GenericCanBuildFrom[A]) ⇒ GenTraversableOnce[T] is in scope.
    Definition Classes
    CollectionsHaveToParArray