SeqLikeIntNPairArrBuilder

ostrat.SeqLikeIntNPairArrBuilder
trait SeqLikeIntNPairArrBuilder[B1E <: ElemIntN, B1 <: IntNSeqLike[B1E], ArrB1 <: Arr[B1], B2, B <: SeqLikeIntNPair[B1E, B1, B2], ArrB <: PairArr[B1, ArrB1, B2, B]] extends SeqLikePairArrBuilder[B1E, B1, ArrB1, B2, B, ArrB]

Attributes

Graph
Supertypes
trait SeqLikePairArrBuilder[B1E, B1, ArrB1, B2, B, ArrB]
trait PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait ArrMapBuilder[B, ArrB]
trait SeqLikeMapBuilder[B, ArrB]
trait PairArrCommonBuilder[B1, ArrB1, B2, ArrB]
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Types

type B1BuffT <: ArrayIntBuff[B1]

The type of the Buff for accumulating B1s.

The type of the Buff for accumulating B1s.

Attributes

type BuffT <: SeqLikeIntNPairBuff[B1E, 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

Value members

Abstract methods

def fromArrays(arrayArrayInt: Array[Array[Int]], a2Array: Array[B2]): ArrB

Construct the final target Arr type from an Array of Arrays of Ints and an Array of B2.

Construct the final target Arr type from an Array of Arrays of Ints and an Array of B2.

Attributes

Concrete methods

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
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
final override def buffGrow(buff: BuffT, value: 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 methods

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

Inherited from:
PairArrMapBuilder
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

Builder for the first element of the pair of type B1. This method will need to be overwritten to a narrow type.

Builder for the first element of the pair of type B1. This method will need to be overwritten to a narrow type.

Attributes

Inherited from:
SeqLikePairArrBuilder
final def b1Uninitialised(length: Int): ArrB1

Attributes

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

Attributes

Inherited from:
ArrMapBuilder
def buffGrowIter(buff: BuffT, values: 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
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

Inherited from:
SeqLikeCommonBuilder
def indexSet(seqLike: ArrB, index: Int, value: 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
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

Inherited from:
SeqLikeCommonBuilder
def uninitialised(length: Int): BB

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

Inherited from:
SeqLikeMapBuilder

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