IntNPairArrMapBuilder

ostrat.IntNPairArrMapBuilder
trait IntNPairArrMapBuilder[B1 <: IntNElem, ArrB1 <: IntNArr[B1], B2, B <: IntNPairElem[B1, B2], ArrB <: IntNPairArr[B1, ArrB1, B2, B]] extends IntNPAirArrCommonBuilder[B1, ArrB1, B2, ArrB] with PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]

Attributes

Graph
Supertypes
trait PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait ArrMapBuilder[B, ArrB]
trait SeqLikeMapBuilder[B, ArrB]
trait IntNPAirArrCommonBuilder[B1, ArrB1, B2, ArrB]
trait PairArrCommonBuilder[B1, ArrB1, B2, ArrB]
class Object
trait Matchable
class Any
Known subtypes
trait Int1PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Int2PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Int3PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Int4PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]

Members list

Concise view

Type members

Types

type BuffT <: IntNPairBuff[B1, B2, 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

Inherited types

type B1BuffT <: IntNBuff[B1]

The type of the Buff for accumulating B1s.

The type of the Buff for accumulating B1s.

Attributes

Inherited from:
IntNPAirArrCommonBuilder

Value members

Abstract methods

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

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

Attributes

def buffFromBuffers(a1Buffer: ArrayBuffer[Int], a2Buffer: ArrayBuffer[B2]): BuffT

Constructs the Buff class from an ArrayBuffer[Int] 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[Int] object for the first components of the pairs and an ArrayBuffer[B2] for the second components of the pairs.

Attributes

Concrete methods

final override def arrFromArrAndArray(b1Arr: ArrB1, b2s: Array[B2]): ArrB

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
final inline 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
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 methods

def arrFromArrays(b1ArrayInt: Array[Int], b2Array: Array[B2]): ArrB

Constructs the Arr class from an Array[Int] 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[Int] object for the first components of the pairs and an Array[B2] for the second components of the pairs.

Attributes

Inherited from:
IntNPAirArrCommonBuilder
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:
IntNPAirArrCommonBuilder
def b1ArrBuilder: ArrMapBuilder[B1, ArrB1]

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

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

Attributes

Inherited from:
PairArrMapBuilder
final override def b1BuffGrow(buff: B1BuffT, newElem: B1): 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:
IntNPAirArrCommonBuilder
final def b1Uninitialised(length: Int): ArrB1

Attributes

Inherited from:
PairArrMapBuilder
final def b2Uninitialised(length: Int): Array[B2]

Attributes

Inherited from:
PairArrMapBuilder
def buffContains(buff: BuffT, newElem: B): Boolean

Attributes

Inherited from:
ArrMapBuilder
def buffGrowIter(buff: BuffT, newElems: Iterable[B]): 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:
IntNPAirArrCommonBuilder
def indexSet(seqLike: ArrB, index: Int, elem: 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

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

Attributes

Inherited from:
ArrMapBuilder

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

Inherited from:
PairArrCommonBuilder

Attributes

Inherited from:
PairArrCommonBuilder
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:
IntNPAirArrCommonBuilder

Implicits

Inherited implicits

implicit def b2ClassTag: ClassTag[B2]

ClassTag for building Arrays and ArrayBuffers of B2s.

ClassTag for building Arrays and ArrayBuffers of B2s.

Attributes

Inherited from:
PairArrCommonBuilder