BuilderArrDbl4Flat

ostrat.BuilderArrDbl4Flat
trait BuilderArrDbl4Flat[ArrB <: Dbl4Arr[_]] extends BuilderArrDbl4[ArrB], BuilderArrDblNFlat[ArrB]

Trait for creating the ArrTBuilder and ArrTFlatBuilder type class instances for Dbl4Arr final classes. Instances for the BuilderArrMap type class, for classes / traits you control, should go in the companion object of type B, which will extend Dbl4Elem. Instances for [[BuilderArrFlat] should go in the companion object the ArrT 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 BuilderArrDblNFlat[ArrB]
trait BuilderArrValueNFlat[ArrB]
trait BuilderArrFlat[ArrB]
trait BuilderSeqLikeFlat[ArrB]
trait BuilderArrDbl4[ArrB]
trait BuilderArrDblN[ArrB]
trait BuilderSeqLikeDblN[ArrB]
trait BuilderSeqLikeValueN[ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderColl[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Inherited types

type BuffT <: BuffDbl4[_]

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

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