BuilderFlatArrValueN

ostrat.BuilderFlatArrValueN
trait BuilderFlatArrValueN[ArrB <: ArrValueN[_]] extends BuilderSeqLikeValueN[ArrB], BuilderArrFlat[ArrB]

BuilderFlat for constructing Arrs with ValueNElems. Instances for the [[BuilderArrFlat] should go in the companion object of the Arr final class. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.

Attributes

Graph
Supertypes
trait BuilderArrFlat[ArrB]
trait BuilderFlatSeqLike[ArrB]
trait BuilderSeqLikeValueN[ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderBoth[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes
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]
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

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

Attributes

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