scala.collection

parallel

package parallel

Package object for parallel collections.

Visibility
  1. Public
  2. All

Type Members

  1. trait AdaptiveWorkStealingForkJoinTasks extends ForkJoinTasks with AdaptiveWorkStealingTasks

  2. trait AdaptiveWorkStealingTasks extends Tasks

    This trait implements scheduling by employing an adaptive work stealing technique.

  3. trait AdaptiveWorkStealingThreadPoolTasks extends ThreadPoolTasks with AdaptiveWorkStealingTasks

  4. trait Combiner [-Elem, +To] extends Builder[Elem, To] with Sizing with Parallel

    The base trait for all combiners.

  5. class CompositeThrowable extends Throwable

    Composite throwable - thrown when multiple exceptions are thrown at the same time.

  6. trait FactoryOps [From, Elem, To] extends AnyRef

  7. trait ForkJoinTasks extends Tasks with HavingForkJoinPool

    An implementation trait for parallel tasks based on the fork/join framework.

  8. trait FutureThreadPoolTasks extends Tasks

    An implementation of tasks objects based on the Java thread pooling API and synchronization using futures.

  9. trait HavingForkJoinPool extends AnyRef

    A trait describing objects that provide a fork/join pool.

  10. trait IterableSplitter [+T] extends AugmentedIterableIterator[T] with Splitter[T] with Signalling with DelegatedSignalling

    Parallel iterators allow splitting and provide a remaining method to obtain the number of elements remaining in the iterator.

  11. trait ParIterable [+T] extends GenIterable[T] with GenericParTemplate[T, ParIterable] with ParIterableLike[T, ParIterable[T], Iterable[T]]

    A template trait for parallel iterable collections.

  12. trait ParIterableLike [+T, +Repr <: ParIterable[T], +Sequential <: Iterable[T] with IterableLike[T, Sequential]] extends GenIterableLike[T, Repr] with CustomParallelizable[T, Repr] with Parallel with HasNewCombiner[T, Repr]

    A template trait for parallel collections of type ParIterable[T].

  13. trait ParIterableView [+T, +Coll <: Parallel, +CollSeq] extends ParIterableViewLike[T, Coll, CollSeq, ParIterableView[T, Coll, CollSeq], IterableView[T, CollSeq]] with GenIterableView[T, Coll]

    A template view of a non-strict view of a parallel iterable collection.

  14. trait ParIterableViewLike [+T, +Coll <: Parallel, +CollSeq, +This <: ParIterableView[T, Coll, CollSeq] with ParIterableViewLike[T, Coll, CollSeq, This, ThisSeq], +ThisSeq <: IterableView[T, CollSeq] with IterableViewLike[T, CollSeq, ThisSeq]] extends GenIterableView[T, Coll] with GenIterableViewLike[T, Coll, This] with ParIterable[T] with ParIterableLike[T, This, ThisSeq]

    A template view of a non-strict view of parallel iterable collection.

  15. trait ParMap [K, +V] extends GenMap[K, V] with GenericParMapTemplate[K, V, ParMap] with ParIterable[(K, V)] with ParMapLike[K, V, ParMap[K, V], Map[K, V]]

    A template trait for parallel maps.

  16. trait ParMapLike [K, +V, +Repr <: ParMapLike[K, V, Repr, Sequential] with ParMap[K, V], +Sequential <: Map[K, V] with MapLike[K, V, Sequential]] extends GenMapLike[K, V, Repr] with ParIterableLike[(K, V), Repr, Sequential]

    A template trait for mutable parallel maps.

  17. trait ParSeq [+T] extends GenSeq[T] with ParIterable[T] with GenericParTemplate[T, ParSeq] with ParSeqLike[T, ParSeq[T], Seq[T]]

    A template trait for parallel sequences.

  18. trait ParSeqLike [+T, +Repr <: ParSeq[T], +Sequential <: Seq[T] with SeqLike[T, Sequential]] extends GenSeqLike[T, Repr] with ParIterableLike[T, Repr, Sequential]

    A template trait for sequences of type ParSeq[T], representing parallel sequences with element type T.

  19. trait ParSeqView [+T, +Coll <: Parallel, +CollSeq] extends ParSeqViewLike[T, Coll, CollSeq, ParSeqView[T, Coll, CollSeq], SeqView[T, CollSeq]]

    A template view of a non-strict view of a parallel sequence.

  20. trait ParSeqViewLike [+T, +Coll <: Parallel, +CollSeq, +This <: ParSeqView[T, Coll, CollSeq] with ParSeqViewLike[T, Coll, CollSeq, This, ThisSeq], +ThisSeq <: SeqView[T, CollSeq] with SeqViewLike[T, CollSeq, ThisSeq]] extends GenSeqView[T, Coll] with GenSeqViewLike[T, Coll, This] with ParIterableView[T, Coll, CollSeq] with ParIterableViewLike[T, Coll, CollSeq, This, ThisSeq] with ParSeq[T] with ParSeqLike[T, This, ThisSeq]

    A template view of a non-strict view of parallel sequence.

  21. trait ParSet [T] extends GenSet[T] with GenericParTemplate[T, ParSet] with ParIterable[T] with ParSetLike[T, ParSet[T], Set[T]]

    A template trait for parallel sets.

  22. trait ParSetLike [T, +Repr <: ParSetLike[T, Repr, Sequential] with ParSet[T], +Sequential <: Set[T] with SetLike[T, Sequential]] extends GenSetLike[T, Repr] with ParIterableLike[T, Repr, Sequential]

    A template trait for parallel sets.

  23. trait PreciseSplitter [+T] extends Splitter[T]

    A precise splitter (or a precise split iterator) can be split into arbitrary number of splitters that traverse disjoint subsets of arbitrary sizes.

  24. trait SeqSplitter [+T] extends IterableSplitter[T] with AugmentedSeqIterator[T] with PreciseSplitter[T]

    Parallel sequence iterators allow splitting into arbitrary subsets.

  25. trait Splitter [+T] extends Iterator[T]

    A splitter (or a split iterator) can be split into more splitters that traverse over disjoint subsets of elements.

  26. trait TaskSupport extends Tasks

  27. trait Tasks extends AnyRef

    A trait that declares task execution capabilities used by parallel collections.

  28. trait ThreadPoolTasks extends Tasks

    An implementation of tasks objects based on the Java thread pooling API.

  29. trait ThrowableOps extends AnyRef

  30. trait TraversableOps [T] extends AnyRef

Value Members

  1. val CHECK_RATE : Int

    Definition Classes
    package
  2. object ForkJoinTasks extends AnyRef

  3. object FutureThreadPoolTasks extends AnyRef

  4. val MIN_FOR_COPY : Int

    Definition Classes
    package
  5. object ParIterable extends ParFactory[ParIterable]

    This object provides a set of operations to create ParIterable values.

  6. object ParIterableView extends AnyRef

  7. object ParMap extends ParMapFactory[ParMap]

  8. object ParSeq extends ParFactory[ParSeq]

  9. object ParSeqView extends AnyRef

  10. object ParSet extends ParSetFactory[ParSet]

  11. val SQRT2 : Double

    Definition Classes
    package
  12. object Splitter extends AnyRef

  13. object ThreadPoolTasks extends AnyRef

  14. val availableProcessors : Int

    Definition Classes
    package
  15. implicit def factory2ops [From, Elem, To] (bf: CanBuildFrom[From, Elem, To]): FactoryOps[From, Elem, To]

    Attributes
    implicit
    Definition Classes
    package
  16. package immutable

  17. package mutable

  18. val tasksupport : TaskSupport

    Definition Classes
    package
  19. def thresholdFromSize (sz: Int, parallelismLevel: Int): Int

    Computes threshold from the size of the collection and the parallelism level.

    Computes threshold from the size of the collection and the parallelism level.

    Definition Classes
    package
  20. implicit def throwable2ops (self: Throwable): ThrowableOps

    Attributes
    implicit
    Definition Classes
    package
  21. implicit def traversable2ops [T] (t: GenTraversableOnce[T]): TraversableOps[T]

    Attributes
    implicit
    Definition Classes
    package