scala.collection.generic

Type members

Classlikes

A mixin trait that implements index flag behaviour using atomic integers. The setIndex operation is wait-free, while conditional set operations setIndexIfGreater and setIndexIfLesser are lock-free and support only monotonic changes.

A mixin trait that implements index flag behaviour using atomic integers. The setIndex operation is wait-free, while conditional set operations setIndexIfGreater and setIndexIfLesser are lock-free and support only monotonic changes.

trait CanCombineFrom[-From, -Elem, +To] extends Parallel

A base trait for parallel builder factories.

A base trait for parallel builder factories.

Type Params
Elem

the element type of the collection to be created.

From

the type of the underlying collection that requests a builder to be created.

To

the type of the collection to be created.

This signalling implementation returns default values and ignores received signals.

This signalling implementation returns default values and ignores received signals.

class DelegatedContext(var signalDelegate: Signalling) extends DelegatedSignalling

Class implementing delegated signalling.

Class implementing delegated signalling.

An implementation of the signalling interface using delegates.

An implementation of the signalling interface using delegates.

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
Companion
class
trait GenericParMapCompanion[+CC <: ([P, Q] =>> ParMap[P, Q])]
Companion
object
trait GenericParMapTemplate[K, +V, +CC <: ([X, Y] =>> ParMap[X, Y])] extends GenericParTemplate[(K, V), [T] =>> ParIterable[T]]
trait GenericParTemplate[+A, +CC <: ([X] =>> ParIterable[X])] extends GenericTraversableTemplate[A, CC] with HasNewCombiner[A, CC[A]]

A template trait for collections having a companion.

A template trait for collections having a companion.

Type Params
A

the element type of the collection

CC

the type constructor representing the collection class

trait GenericTraversableTemplate[+A, +CC <: ([X] =>> ParIterable[X])] extends HasNewBuilder[A, CC[A]]

A template class for companion objects of regular collection classes that represent an unconstrained higher-kinded type.

A template class for companion objects of regular collection classes that represent an unconstrained higher-kinded type.

Type Params
A

The type of the collection elements.

CC

The type constructor representing the collection class.

trait HasNewBuilder[+A, +Repr]
trait HasNewCombiner[+T, +Repr]

An object that returns default values and ignores received signals.

An object that returns default values and ignores received signals.

abstract class ParFactory[CC <: ([X] =>> ParIterable[X] & GenericParTemplate[X, CC])] extends GenericParCompanion[CC]

A template class for companion objects of ParIterable and subclasses thereof. This class extends TraversableFactory and provides a set of operations to create ParIterable objects.

A template class for companion objects of ParIterable and subclasses thereof. This class extends TraversableFactory and provides a set of operations to create ParIterable objects.

abstract class ParMapFactory[CC <: ([X, Y] =>> ParMap[X, Y] & ParMapLike[X, Y, CC, CC[X, Y], Sequential[X, Y]]), Sequential <: ([X, Y] =>> Map[X, Y] & MapOps[X, Y, Sequential, Sequential[X, Y]])] extends GenericParMapCompanion[CC]

A template class for companion objects of ParMap and subclasses thereof. This class extends TraversableFactory and provides a set of operations to create ParMap objects.

A template class for companion objects of ParMap and subclasses thereof. This class extends TraversableFactory and provides a set of operations to create ParMap objects.

abstract class ParSetFactory[CC <: ([X] =>> ParSet[X] & ParSetLike[X, CC, CC[X], _] & GenericParTemplate[X, CC])] extends GenericParCompanion[CC]
trait Signalling

A message interface serves as a unique interface to the part of the collection capable of receiving messages from a different task.

A message interface serves as a unique interface to the part of the collection capable of receiving messages from a different task.

One example of use of this is the find method, which can use the signalling interface to inform worker threads that an element has been found and no further search is necessary.

trait Sizing

A trait for objects which have a size.

A trait for objects which have a size.

class TaggedDelegatedContext(deleg: Signalling, val tag: Int) extends DelegatedContext

Class implementing delegated signalling, but having its own distinct tag.

Class implementing delegated signalling, but having its own distinct tag.

trait VolatileAbort extends Signalling

A mixin trait that implements abort flag behaviour using volatile variables.

A mixin trait that implements abort flag behaviour using volatile variables.