BuilderArrFlat

ostrat.BuilderArrFlat
See theBuilderArrFlat companion object
trait BuilderArrFlat[ArrB <: Arr[_]] extends BuilderFlatSeqLike[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 BuilderFlatSeqLike[ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderBoth[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait BuilderFlatArrPair[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDblNFlat[B1, ArrB1, B2, ArrB]
trait BuilderFlatArrPairDbl4[B1, ArrB1, B2, ArrB]
trait BuilderArrPairIntNFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairInt4Flat[B1, ArrB1, B2, ArrB]
trait BuilderFlatArrValueN[ArrB]
trait BuilderArrIntNFlat[ArrB]
trait BuilderArrInt6Flat[ArrB]
trait BuilderFlatArrIn1[ArrB]
trait BuilderFlatArrInt2[ArrB]
trait BuilderFlatArrInt3[ArrB]
trait BuilderFlatArrInt4[ArrB]
trait BuilderFlatArrInt5[ArrB]
trait BuilderFlatArrDblN[ArrB]
trait BuilderFlatArrDbl2[ArrB]
trait BuilderFlatArrDbl3[ArrB]
trait BuilderFlatArrDbl4[ArrB]
trait BuilderFlatArrDbl5[ArrB]
trait BuilderFlatArrDbl6[ArrB]
object DblArrBuilder
object IntArrBuilder
class RArrAllBuilder[B]
Show all

Members list

Type members

Inherited and Abstract types

type BuffT <: Buff[_]

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

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

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 and Abstract methods

def buffToSeqLike(buff: BuffT): ArrB

converts a buffer of the given type to the target compound class.

converts a buffer of the given type to the target compound class.

Attributes

Inherited from:
BuilderBoth
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:
BuilderBoth