BuilderArrDbl6Map

ostrat.BuilderArrDbl6Map
trait BuilderArrDbl6Map[B <: Dbl6Elem, ArrB <: ArrDbl6[B]] extends BuilderSeqLikeDbl6[ArrB], BuilderArrDblNMap[B, ArrB]

Trait for creating the ArrTBuilder type class instances for ArrDbl6 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 Dbl6Elem. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.

Attributes

Graph
Supertypes
trait BuilderArrDblNMap[B, ArrB]
trait BuilderArrValueNMap[B, ArrB]
trait BuilderArrMap[B, ArrB]
trait BuilderSeqLikeValueNMap[B, ArrB]
trait BuilderSeqLikeDblNMap[B, ArrB]
trait BuilderSeqLikeMap[B, ArrB]
trait BuilderCollMap[B, ArrB]
trait BuilderSeqLikeDbl6[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

Types

type BuffT <: BuffDbl6[B]

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

Value members

Concrete methods

override def indexSet(seqLike: ArrB, index: Int, newElem: B): Unit

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Attributes

Definition Classes

Inherited methods

def buffContains(buff: BuffT, newElem: B): Boolean

Attributes

Inherited from:
BuilderArrMap

Attributes

Inherited from:
BuilderSeqLikeDblN
final override def buffGrow(buff: BuffT, newElem: B): Unit

A mutable operation that extends the ArrayBuffer by a single element of type B.

A mutable operation that extends the ArrayBuffer by a single element of type B.

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeDblNMap
def buffGrowIter(buff: BuffT, newElems: Iterable[B]): Unit

A mutable operation that extends the BuffSequ with the elements of the Iterable operand.

A mutable operation that extends the BuffSequ with the elements of the Iterable operand.

Attributes

Inherited from:
BuilderSeqLikeMap
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:
BuilderSeqLikeDbl6
override def empty: ArrB

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

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

Attributes

Inherited from:
BuilderSeqLikeDblN
def iterMap[A](inp: Iterable[A], f: A => B): ArrB

Attributes

Inherited from:
BuilderArrMap
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
final override def uninitialised(length: Int): ArrB

Creates a new uninitialised SeqLike of type BB of the given length.

Creates a new uninitialised SeqLike of type BB of the given length.

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeDblNMap