ArrTFlatBuilder

trait ArrTFlatBuilder[ArrT <: ArrImut[_]] extends ArrTBuilderCommon[ArrT]

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 ArrTBuilder[BB] type class where the instance should go into the B companion object.

Companion
object
trait ArrTBuilderCommon[ArrT]
class Object
trait Matchable
class Any
class AnyBuild[B]
object DblsBuild
object IntsBuild
object LongsBuild
trait ValueNsArrFlatBuilder[B, ArrB]
trait DblNsArrFlatBuilder[B, ArrB]
trait Dbl2sArrFlatBuilder[B, ArrB]
trait Dbl3sArrFlatBuilder[B, ArrB]
trait Dbl4sArrFlatBuilder[B, ArrB]
trait IntNsArrFlatBuilder[B, ArrB]
trait Int1sArrFlatBuilder[A, ArrT]
trait Int2sArrFlatBuilder[B, ArrB]

Type members

Inherited types

type BuffT <: ArrayLike[_]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = Ints, or it can be a compilte 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 compilte time wrapped Arraybuffer inheriting from BuffProdHomo.

Inherited from
ArrTBuilderCommon

Value members

Inherited methods

def buffGrowArr(buff: BuffT, arr: ArrT): 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
ArrTBuilderCommon
def buffToArr(buff: BuffT): ArrT
Inherited from
ArrTBuilderCommon
def newBuff(length: Int): BuffT
Inherited from
ArrTBuilderCommon