BuilderArrPairFlat

ostrat.BuilderArrPairFlat
trait BuilderArrPairFlat[B1, ArrB1 <: Arr[B1], B2, ArrB <: ArrPair[B1, ArrB1, B2, _]] extends BuilderArrPair[B1, ArrB1, B2, ArrB], BuilderArrFlat[ArrB]

Builder for ArrPair objects via the flatMap f: A => ArrPairB, method. Hence the call site doesn't know the type of the PairElems that will make up the final Arr object.

Attributes

Graph
Supertypes
trait BuilderArrFlat[ArrB]
trait BuilderSeqLikeFlat[ArrB]
trait BuilderArrPair[B1, ArrB1, B2, ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderColl[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait BuilderArrPairDblNFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDbl4Flat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairIntNFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairInt4Flat[B1, ArrB1, B2, ArrB]
Show all

Members list

Type members

Inherited types

type B1BuffT <: BuffSequ[B1]

The type of the BuffSequ for accumulating B1s.

The type of the BuffSequ for accumulating B1s.

Attributes

Inherited from:
BuilderArrPair
type BuffT <: BuffPair[B1, B2, _]

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

Value members

Inherited methods

def arrFromBuffs(b1Buff: B1BuffT, b2Buffer: ArrayBuffer[B2]): ArrB

Constructs an Arr of B from the BuffSequs of the B1 and B2 components.

Constructs an Arr of B from the BuffSequs of the B1 and B2 components.

Attributes

Inherited from:
BuilderArrPair
def b1BuffGrow(buff: B1BuffT, newElem: B1): Unit

Expands / appends the B1 BuffSequ with a single element of B1.

Expands / appends the B1 BuffSequ with a single element of B1.

Attributes

Inherited from:
BuilderArrPair
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 from:
BuilderArrFlat
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

Constructs a new empty BuffSequ for the B1 components of the pairs.

Constructs a new empty BuffSequ for the B1 components of the pairs.

Attributes

Inherited from:
BuilderArrPair

Attributes

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

Implicits

Inherited implicits

implicit def b2ClassTag: ClassTag[B2]

ClassTag for building Arrays and ArrayBuffers of B2s.

ClassTag for building Arrays and ArrayBuffers of B2s.

Attributes

Inherited from:
BuilderArrPair