RPairArrMapBuilder

ostrat.RPairArrMapBuilder
class RPairArrMapBuilder[B1, B2](implicit ct: ClassTag[B1]) extends PairArrMapBuilder[B1, RArr[B1], B2, RPairElem[B1, B2], RPairArr[B1, B2]]

Attributes

Graph
Supertypes
trait PairArrMapBuilder[B1, RArr[B1], B2, RPairElem[B1, B2], RPairArr[B1, B2]]
trait ArrMapBuilder[RPairElem[B1, B2], RPairArr[B1, B2]]
trait SeqLikeMapBuilder[RPairElem[B1, B2], RPairArr[B1, B2]]
trait PairArrCommonBuilder[B1, RArr[B1], B2, RPairArr[B1, B2]]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

override type B1BuffT = RBuff[B1]

The type of the Buff for accumulating B1s.

The type of the Buff for accumulating B1s.

Attributes

override type BuffT = RPairBuff[B1, 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: RArr[B1], b2s: Array[B2]): RPairArr[B1, 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 arrFromBuffs(a1Buff: RBuff[B1], b2s: ArrayBuffer[B2]): RPairArr[B1, B2]

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
override def b1ArrBuilder: ArrMapBuilder[B1, RArr[B1]]

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 b1BuffGrow(buff: RBuff[B1], 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
override def buffGrow(buff: RPairBuff[B1, B2], newElem: RPairElem[B1, 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
override def buffToSeqLike(buff: RPairBuff[B1, B2]): RPairArr[B1, B2]

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

Definition Classes
override def indexSet(seqLike: RPairArr[B1, B2], index: Int, elem: RPairElem[B1, 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
override def newB1Buff(): RBuff[B1]

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
override def newBuff(length: Int): RPairBuff[B1, B2]

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
override def uninitialised(length: Int): RPairArr[B1, B2]

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

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: RPairElem[B1, B2]): Boolean

Attributes

Inherited from:
ArrMapBuilder
def buffGrowIter(buff: BuffT, newElems: Iterable[RPairElem[B1, 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
def iterMap[A](inp: Iterable[A], f: A => RPairElem[B1, B2]): ArrB

Attributes

Inherited from:
ArrMapBuilder

Attributes

Inherited from:
PairArrCommonBuilder

Implicits

Implicits

implicit override def b2ClassTag: ClassTag[B2]

ClassTag for building Arrays and ArrayBuffers of B2s.

ClassTag for building Arrays and ArrayBuffers of B2s.

Attributes

Definition Classes