RPairArrMapBuilder

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

Attributes

Graph
Supertypes
trait BuilderArrPairMap[B1, RArr[B1], B2, RPairElem[B1, B2], RPairArr[B1, B2]]
trait BuilderArrMap[RPairElem[B1, B2], RPairArr[B1, B2]]
trait BuilderSeqLikeMap[RPairElem[B1, B2], RPairArr[B1, B2]]
trait BuilderCollMap[RPairElem[B1, B2], RPairArr[B1, B2]]
trait BuilderArrPair[B1, RArr[B1], B2, RPairArr[B1, B2]]
trait BuilderSeqLike[RPairArr[B1, B2]]
trait BuilderColl[RPairArr[B1, B2]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

override type B1BuffT = RBuff[B1]

The type of the BuffSequ for accumulating B1s.

The type of the BuffSequ 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(b1Buff: RBuff[B1], b2Buffer: ArrayBuffer[B2]): RPairArr[B1, B2]

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

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

Attributes

Definition Classes
override def b1ArrBuilder: BuilderArrMap[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 BuffSequ with a songle element of B1.

Expands / appends the B1 BuffSequ 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, newElem: 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 BuffSequ for the B1 components of the pairs.

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

Attributes

Definition Classes
override def newBuff(length: Int): RPairBuff[B1, B2]

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
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): RArr[B1]

Attributes

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

Attributes

Inherited from:
BuilderArrPairMap
def buffContains(buff: BuffT, newElem: RPairElem[B1, B2]): Boolean

Attributes

Inherited from:
BuilderArrMap
def buffGrowIter(buff: BuffT, newElems: Iterable[RPairElem[B1, B2]]): 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
override def empty: RPairArr[B1, B2]

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeMap
def iterMap[A](inp: Iterable[A], f: A => RPairElem[B1, B2]): RPairArr[B1, B2]

Attributes

Inherited from:
BuilderArrMap

Attributes

Inherited from:
BuilderArrPair

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