BuilderArrDbl2Flat

ostrat.BuilderArrDbl2Flat
trait BuilderArrDbl2Flat[ArrB <: ArrDbl2[_]] extends BuilderSeqLikeDbl2[ArrB], BuilderArrDblNFlat[ArrB]

Trait for creating the ArrTFlatBuilder type class instances for ArrDbl2 final classes. Instances for [[BuilderArrFlat] should go in the companion object the ArrT final class. The first type parameter is called B, because it corresponds to the B in

build: ArrTBuilder[B, ArrB]): ArrB

function.

Attributes

Graph
Supertypes
trait BuilderArrDblNFlat[ArrB]
trait BuilderArrValueNFlat[ArrB]
trait BuilderArrFlat[ArrB]
trait BuilderSeqLikeFlat[ArrB]
trait BuilderSeqLikeDbl2[ArrB]
trait BuilderSeqLikeDblN[ArrB]
trait BuilderSeqLikeValueN[ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderColl[ArrB]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type BuffT <: BuffDbl2[_]

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

Value members

Inherited methods

Attributes

Inherited from:
BuilderSeqLikeDblN
override 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

Definition Classes
Inherited from:
BuilderArrDblNFlat
final override 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

Definition Classes
Inherited from:
BuilderSeqLikeDblN
final override def elemProdSize: Int

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeDbl2
def fromDblArray(array: Array[Double]): ArrB

Attributes

Inherited from:
BuilderSeqLikeDblN
final override 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

Definition Classes
Inherited from:
BuilderSeqLikeDblN