PtM3PairArrMapBuilder

ostrat.geom.PtM3PairArrMapBuilder
class PtM3PairArrMapBuilder[B2](implicit val b2ClassTag: ClassTag[B2]) extends Dbl3PairArrMapBuilder[PtM3, PtM3Arr, B2, PtM3Pair[B2], PtM3PairArr[B2]]

Map builder for PtM3PairArrs.

Attributes

Graph
Supertypes

Members list

Concise view

Type members

Types

override type B1BuffT = PtM3Buff

The type of the Buff for accumulating B1s.

The type of the Buff for accumulating B1s.

Attributes

override type BuffT = PtM3PairBuff[B2]

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 arrFromArrAndArray(b1Arr: PtM3Arr, b2s: Array[B2]): PtM3PairArr[B2]

Builder for the sequence of pairs, takes the results of the other two builder methods to produce the end product.

Builder for the sequence of pairs, takes the results of the other two builder methods to produce the end product.

Attributes

Definition Classes
override def arrFromArrays(a1ArrayDbl: Array[Double], a2Array: Array[B2]): PtM3PairArr[B2]

Constructs the Arr class from an Array[Double] object for the first components of the pairs and an Array[B2] for the second components of the pairs.

Constructs the Arr class from an Array[Double] object for the first components of the pairs and an Array[B2] for the second components of the pairs.

Attributes

Definition Classes

Builder for an Arr of the first element of the pair.

Builder for an Arr of the first element of the pair.

Attributes

Definition Classes
override def buffFromBuffers(a1Buffer: ArrayBuffer[Double], a2Buffer: ArrayBuffer[B2]): PtM3PairBuff[B2]

Constructs the Buff class from an ArrayBuffer[Double] object for the first components of the pairs and an ArrayBuffer[B2] for the second components of the pairs.

Constructs the Buff class from an ArrayBuffer[Double] object for the first components of the pairs and an ArrayBuffer[B2] for the second components of the pairs.

Attributes

Definition Classes
override def newB1Buff(): PtM3Buff

Constructs a new empty Buff for the B1 components of the pairs.

Constructs a new empty Buff for the B1 components of the pairs.

Attributes

Definition Classes

Inherited methods

final override def a1DblNum: Int

The number of Doubles required to construct the first component of the pairs.

The number of Doubles required to construct the first component of the pairs.

Attributes

Definition Classes
Inherited from:
Dbl3PairArrMapBuilder
final override def arrFromBuffs(a1Buff: B1BuffT, b2s: ArrayBuffer[B2]): ArrB

Constructs an Arr of B from the Buffs of the B1 and B2 components.

Constructs an Arr of B from the Buffs of the B1 and B2 components.

Attributes

Definition Classes
Inherited from:
DblNPAirArrCommonBuilder
final override def b1BuffGrow(buff: B1BuffT, newElem: PtM3): Unit

Expands / appends the B1 Buff with a songle element of B1.

Expands / appends the B1 Buff with a songle element of B1.

Attributes

Definition Classes
Inherited from:
DblNPAirArrCommonBuilder
final def b1Uninitialised(length: Int): ArrB1

Attributes

Inherited from:
PairArrMapBuilder
def buffContains(buff: BuffT, newElem: PtM3Pair[B2]): Boolean

Attributes

Inherited from:
ArrMapBuilder
final inline override def buffGrow(buff: BuffT, value: PtM3Pair[B2]): 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:
DblNPairArrMapBuilder
def buffGrowIter(buff: BuffT, values: Iterable[PtM3Pair[B2]]): Unit

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

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

Attributes

Inherited from:
SeqLikeMapBuilder
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:
DblNPAirArrCommonBuilder
final override def indexSet(seqLike: PtM3PairArr[B2], index: Int, value: PtM3Pair[B2]): 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 from:
Dbl3PairArrMapBuilder
def iterMap[A](inp: Iterable[A], f: A => PtM3Pair[B2]): ArrB

Attributes

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

Creates a new uninitialised Arr of type ArrB of the given length.

Creates a new uninitialised Arr of type ArrB of the given length.

Attributes

Definition Classes
Inherited from:
DblNPairArrMapBuilder

Implicits

Implicits

implicit val b2ClassTag: ClassTag[B2]

ClassTag for building Arrays and ArrayBuffers of B2s.

ClassTag for building Arrays and ArrayBuffers of B2s.

Attributes