GenericParCompanion

scala.collection.generic.GenericParCompanion
See theGenericParCompanion companion object

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

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ParFactory[CC]
object ParIterable
object ParSeq
object ParVector
object ParArray
object ParIterable
object ParSeq
object ParIterable
object ParSeq
class ParSetFactory[CC]
object ParHashSet
object ParSet
object ParHashSet
object ParSet
object ParSet
Show all

Members list

Value members

Abstract methods

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

The default builder for ParIterable objects.

The default builder for ParIterable objects.

Attributes

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

The parallel builder for ParIterable objects.

The parallel builder for ParIterable objects.

Attributes

Concrete methods

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

Creates a $coll with the specified elements.

Creates a $coll with the specified elements.

Type parameters

A

the type of the ${coll}'s elements

Value parameters

elems

the elements of the created $coll

Attributes

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 parameters

A

the type of the ${coll}'s elements

Attributes

Implicits

Implicits

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