GenericParCompanion

trait GenericParCompanion[+CC <: ([X] =>> ParIterable[X])]

A template class for companion objects of parallel collection classes. They should be mixed in together with GenericCompanion type.

A template class for companion objects of parallel collection classes. They should be mixed in together with GenericCompanion type.

Companion
object
class Object
trait Matchable
class Any
class ParFactory[CC]
object ParSeq
object ParSeq
object ParVector
object ParArray
object ParSeq
class ParSetFactory[CC]
object ParSet
object ParHashSet
object ParSet
object ParHashSet
object ParSet

Value members

Abstract methods

def newBuilder[A]: Combiner[A, CC[A]]

The default builder for ParIterable objects.

The default builder for ParIterable objects.

def newCombiner[A]: Combiner[A, CC[A]]

The parallel builder for ParIterable objects.

The parallel builder for ParIterable objects.

Concrete methods

def apply[A](elems: A*): CC[A]

Creates a $coll with the specified elements.

Creates a $coll with the specified elements.

Type Params
A

the type of the ${coll}'s elements

Value Params
elems

the elements of the created $coll

Returns

a new $coll with elements elems

def empty[A]: CC[A]

An empty collection of type ``ParIterable[A]

An empty collection of type ``ParIterable[A]

Type Params
A

the type of the ${coll}'s elements

Implicits

Implicits

implicit def toFactory[A]: Factory[A, CC[A]]