ArrFlatBuilder

trait ArrFlatBuilder[ArrB <: ArrBase[_]] extends DataBuilderCommon[ArrB]

A type class for the building of efficient compact Immutable Arrays through a flatMap method. Instances for this type class for classes / traits you control should go in the companion object of BB. This is different from the related ArrBuilder[BB] type class where the instance should go into the B companion object.

Companion
object
trait DataBuilderCommon[ArrB]
class Object
trait Matchable
class Any
class AnyBuild[B]
trait ArrValueNsFlatBuilder[B, ArrB]
trait ArrDblNsFlatBuilder[B, ArrB]
trait ArrDbl2sFlatBuilder[B, ArrB]
trait ArrDbl4sFlatBuilder[B, ArrB]
trait Dbl3sArrFlatBuilder[B, ArrB]
trait ArrIntNsFlatBuilder[B, ArrB]
trait ArrInt1sFlatBuilder[A, ArrT]
trait ArrInt2sFlatBuilder[B, ArrB]
object DblsBuild
object IntsBuild
object LongsBuild

Type members

Inherited types

type BuffT <: SeqGen[_]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compile time wrapped Arraybuffer inheriting from BuffProdHomo.

Inherited from
DataBuilderCommon

Value members

Inherited methods

def buffGrowArr(buff: BuffT, arr: ArrB): Unit

A mutable operation that extends the ArrayBuffer with the elements of the Immutable Array operand.

A mutable operation that extends the ArrayBuffer with the elements of the Immutable Array operand.

Inherited from
DataBuilderCommon
def buffToBB(buff: BuffT): ArrB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Inherited from
DataBuilderCommon
def newBuff(length: Int): BuffT
Inherited from
DataBuilderCommon