ResizableParArrayCombiner

trait ResizableParArrayCombiner[T] extends LazyCombiner[T, ParArray[T], ExposedArrayBuffer[T]]

An array combiner that uses a chain of arraybuffers to store elements.

An array combiner that uses a chain of arraybuffers to store elements.

Companion
object
trait LazyCombiner[T, ParArray[T], ExposedArrayBuffer[T]]
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 CopyChainToArray(array: Array[Any], offset: Int, howmany: Int) extends Task[Unit, CopyChainToArray]

Value members

Concrete methods

final def newLazyCombiner(c: ArrayBuffer[ExposedArrayBuffer[T]]): LazyCombiner[T, ParArray[T], ExposedArrayBuffer[T]]
override def sizeHint(sz: Int): Unit
Definition Classes
Builder
override def toString: String
Definition Classes
Any

Inherited methods

@inline
final def ++=(xs: IterableOnce[T]): ResizableParArrayCombiner[T]
Inherited from
Growable
@inline
final def +=(elem: T): ResizableParArrayCombiner[T]
Inherited from
Growable
def addAll(xs: IterableOnce[T]): ResizableParArrayCombiner[T]
Inherited from
Growable
Inherited from
LazyCombiner
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
def clear(): Unit
Inherited from
LazyCombiner
def combine[N <: T, NewTo >: ParArray[T]](other: Combiner[N, NewTo]): Combiner[N, NewTo]
Inherited from
LazyCombiner
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
def result(): ParArray[T]
Inherited from
LazyCombiner

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
def size: Int
Inherited from
LazyCombiner
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*): ResizableParArrayCombiner[T]
Deprecated
Inherited from
Growable

Inherited fields

@transient @volatile
Inherited from
Combiner
val chain: ArrayBuffer[ExposedArrayBuffer[T]]
Inherited from
LazyCombiner
val lastbuff: ExposedArrayBuffer[T]
Inherited from
LazyCombiner