ArrFlatBuilder

ostrat.ArrFlatBuilder
See theArrFlatBuilder companion object
trait ArrFlatBuilder[ArrB <: Arr[_]] extends SeqLikeFlatBuilder[ArrB] with SeqLikeCommonBuilder[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 ArrMapBuilder[BB] type class where the instance should go into the B companion object.

Attributes

Companion:
object
Graph
Supertypes
trait SeqLikeFlatBuilder[ArrB]
class Object
trait Matchable
class Any
Known subtypes
object AnyArrBuild.type
object BooleanArrBuilder.type
object DblArrBuilder.type
object FloatArrBuilder.type
object IntArrBuilder.type
object LongArrBuilder.type
trait PairArrFlatBuilder[B1, ArrB1, B2, ArrB]
trait DblNPairArrFlatBuilder[B1, ArrB1, B2, ArrB]
trait Dbl4PairArrFlatBuilder[B1, ArrB1, B2, ArrB]
trait IntNPairArrFlatBuilder[B1, ArrB1, B2, ArrB]
trait Int4PairArrFlatBuilder[B1, ArrB1, B2, ArrB]
object StringArrBuilder.type
trait DblNArrFlatBuilder[ArrB]
trait Dbl2ArrFlatBuilder[ArrB]
trait Dbl3ArrFlatBuilder[ArrB]
trait Dbl4ArrFlatBuilder[ArrB]
trait Dbl5ArrFlatBuilder[ArrB]
trait Dbl6ArrFlatBuilder[ArrB]
trait IntNArrFlatBuilder[ArrB]
trait Int1ArrFlatBuilder[ArrT]
trait Int2ArrFlatBuilder[ArrB]
trait Int3ArrFlatBuilder[ArrB]
trait Int4ArrFlatBuilder[ArrB]
trait Int5ArrFlatBuilder[ArrB]
trait Int6ArrFlatBuilder[ArrB]

Members list

Concise view

Type members

Inherited types

type BuffT <: Buff[_]

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.

Attributes

Inherited from:
SeqLikeCommonBuilder

Value members

Abstract 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.

Attributes

Inherited methods

def buffToSeqLike(buff: BuffT): BB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

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

Creates a new empty Buff with a default capacity of 4 elements.

Creates a new empty Buff with a default capacity of 4 elements.

Attributes

Inherited from:
SeqLikeCommonBuilder