BuilderArrFlat

ostrat.BuilderArrFlat
See theBuilderArrFlat companion object
trait BuilderArrFlat[ArrB <: Arr[_]] extends BuilderSeqLikeFlat[ArrB], BuilderSeqLike[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 BuilderArrMap[BB] type class where the instance should go into the B companion object.

Attributes

Companion
object
Graph
Supertypes
trait BuilderSeqLikeFlat[ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderColl[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait BuilderArrPairFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDblNFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDbl4Flat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairIntNFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairInt4Flat[B1, ArrB1, B2, ArrB]
trait BuilderArrValueNFlat[ArrB]
trait BuilderArrDblNFlat[ArrB]
trait BuilderArrDbl2Flat[ArrB]
trait BuilderArrDbl3Flat[ArrB]
trait BuilderArrDbl4Flat[ArrB]
trait BuilderArrDbl5Flat[ArrB]
trait BuilderArrDbl6Flat[ArrB]
trait BuilderArrIntNFlat[ArrB]
trait BuilderArrIn1Flat[ArrT]
trait BuilderArrInt2Flat[ArrB]
trait BuilderArrInt3Flat[ArrB]
trait BuilderArrInt4Flat[ArrB]
trait BuilderArrInt5Flat[ArrB]
trait BuilderArrInt6Flat[ArrB]
object DblArrBuilder
object IntArrBuilder
class RArrAllBuilder[B]
Show all

Members list

Type members

Inherited types

type BuffT <: BuffSequ[_]

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:
BuilderSeqLike

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): ArrB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

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

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

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

Attributes

Inherited from:
BuilderColl