CustomParallelizable

scala.collection.CustomParallelizable
trait CustomParallelizable[+A, +ParRepr <: Parallel] extends Parallelizable[A, ParRepr]

Attributes

Graph
Supertypes
trait Parallelizable[A, ParRepr]
class Any
Known subtypes
class MapIsParallelizable[K, V]
trait ParIterableLike[T, CC, Repr, Sequential]
trait ParIterable[T]
trait ParMap[K, V]
class ParHashMap[K, V]
class WithDefault[K, V]
trait ParSeq[T]
class ParRange
class ParVector[T]
trait ParSet[T]
class ParHashSet[T]
trait ParMapLike[K, V, CC, Repr, Sequential]
trait ParIterable[T]
trait ParMap[K, V]
class ParHashMap[K, V]
class WithDefault[K, V]
class ParTrieMap[K, V]
trait ParSeq[T]
class ParArray[T]
trait ParSet[T]
class ParHashSet[T]
trait ParMapLike[K, V, CC, Repr, Sequential]
trait ParSetLike[T, CC, Repr, Sequential]
trait ParIterable[T]
trait ParMap[K, V]
class WithDefault[A, B]
trait ParSeq[T]
trait ParSet[T]
trait ParMapLike[K, V, CC, Repr, Sequential]
trait ParSeqLike[T, CC, Repr, Sequential]
trait ParSetLike[T, CC, Repr, Sequential]
Show all

Members list

Value members

Abstract methods

override def par: ParRepr

Returns a parallel implementation of this collection.

Returns a parallel implementation of this collection.

For most collection types, this method creates a new parallel collection by copying all the elements. For these collection, par takes linear time. Mutable collections in this category do not produce a mutable parallel collection that has the same underlying dataset, so changes in one collection will not be reflected in the other one.

Specific collections (e.g. ParArray or mutable.ParHashMap) override this default behaviour by creating a parallel collection which shares the same underlying dataset. For these collections, par takes constant or sublinear time.

All parallel collections return a reference to themselves.

Attributes

Returns

a parallel implementation of this collection

Definition Classes

Inherited and Abstract methods

def seq: IterableOnce[A]

Attributes

Inherited from:
Parallelizable