UnrolledParArrayCombiner

trait UnrolledParArrayCombiner[T] extends Combiner[T, ParArray[T]]

An array combiner that uses doubling unrolled buffers to store elements.

An array combiner that uses doubling unrolled buffers to store elements.

Companion
object
trait Combiner[T, ParArray[T]]
trait Parallel
trait Sizing
trait Builder[T, ParArray[T]]
trait Growable[T]
trait Clearable
class Object
trait Matchable
class Any

Type members

Classlikes

class CopyUnrolledToArray(array: Array[Any], offset: Int, howmany: Int) extends Task[Unit, CopyUnrolledToArray]

Value members

Concrete methods

def clear(): Unit
def combine[N <: T, NewTo >: ParArray[T]](other: Combiner[N, NewTo]): Combiner[N, NewTo]
def result(): ParArray[T]
def size: Int
override def sizeHint(sz: Int): Unit
Definition Classes
Builder

Inherited methods

@inline
final def ++=(xs: IterableOnce[T]): UnrolledParArrayCombiner[T]
Inherited from
Growable
@inline
final def +=(elem: T): UnrolledParArrayCombiner[T]
Inherited from
Growable
def addAll(xs: IterableOnce[T]): UnrolledParArrayCombiner[T]
Inherited from
Growable
def canBeShared: Boolean

Returns true if this combiner has a thread-safe += and is meant to be shared across several threads constructing the collection.

Returns true if this combiner has a thread-safe += and is meant to be shared across several threads constructing the collection.

By default, this method returns false.

Inherited from
Combiner
Inherited from
Combiner
def fromSequential(seq: IterableOnce[T]): ParArray[T]

Add all elements from a sequential collection and return the result.

Add all elements from a sequential collection and return the result.

Inherited from
Combiner
def knownSize: Int
Inherited from
Growable
def mapResult[NewTo](f: ParArray[T] => NewTo): Builder[T, NewTo]
Inherited from
Builder

Constructs the result and sets the appropriate tasksupport object to the resulting collection if this is applicable.

Constructs the result and sets the appropriate tasksupport object to the resulting collection if this is applicable.

Inherited from
Combiner
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
Inherited from
Builder
final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
Inherited from
Builder

Deprecated and Inherited methods

@inline @deprecated("Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated", "2.13.0")
final def +=(elem1: T, elem2: T, elems: T*): UnrolledParArrayCombiner[T]
Deprecated
Inherited from
Growable

Concrete fields

val buff: DoublingUnrolledBuffer[Any]

Inherited fields

@transient @volatile
Inherited from
Combiner