Dbl5ArrFlatBuilder

ostrat.Dbl5ArrFlatBuilder
trait Dbl5ArrFlatBuilder[ArrB <: Dbl5Arr[_]] extends Dbl5SeqLikeCommonBuilder[ArrB] with DblNArrFlatBuilder[ArrB]

Trait for creating the ArrTBuilder and ArrTFlatBuilder type class instances for Dbl5Arr final classes. Instances for the ArrMapBuilder type class, for classes / traits you control, should go in the companion object of type B, which will extend Dbl5Elem. Instances for [[ArrFlatBuilder] 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 DblNArrFlatBuilder[ArrB]
trait ArrFlatBuilder[ArrB]
trait SeqLikeFlatBuilder[ArrB]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type BuffT <: Dbl5Buff[_]

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

Value members

Inherited methods

Attributes

Inherited from:
DblNSeqLikeCommonBuilder
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:
DblNArrFlatBuilder
final override def buffToSeqLike(buff: BuffT): BB

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:
DblNSeqLikeCommonBuilder
final override def elemProdSize: Int
def fromDblArray(array: Array[Double]): BB

Attributes

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

Definition Classes
Inherited from:
DblNSeqLikeCommonBuilder