BuilderArrPairInt2Map

ostrat.BuilderArrPairInt2Map
trait BuilderArrPairInt2Map[B1 <: Int2Elem, ArrB1 <: ArrInt2[B1], B2, B <: PairInt2Elem[B1, B2], ArrB <: ArrPairInt2[B1, ArrB1, B2, B]] extends BuilderArrPairIntNMap[B1, ArrB1, B2, B, ArrB]

Builder for PairArrs where the first component of the pairs is an Int2Elem via the map method.

Attributes

Graph
Supertypes
trait BuilderArrPairIntNMap[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairMap[B1, ArrB1, B2, B, ArrB]
trait BuilderArrMap[B, ArrB]
trait BuilderSeqLikeMap[B, ArrB]
trait BuilderCollMap[B, ArrB]
trait BuilderArrPairIntN[B1, ArrB1, B2, ArrB]
trait BuilderArrPair[B1, ArrB1, B2, ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderColl[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Type members

Types

type BuffT <: BuffPairInt2[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 <: BuffIntN[B1]

The type of the BuffSequ for accumulating B1s.

The type of the BuffSequ for accumulating B1s.

Attributes

Inherited from:
BuilderArrPairIntN

Value members

Concrete methods

final override def a1IntNum: Int

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

Definition Classes
final override def indexSet(seqLike: ArrB, index: Int, newElem: 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

Definition Classes

Inherited 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
Inherited from:
BuilderArrPairIntNMap
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:
BuilderArrPairIntN
final override def arrFromBuffs(b1Buff: B1BuffT, b2Buffer: ArrayBuffer[B2]): ArrB

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
Inherited from:
BuilderArrPairIntN
def b1ArrBuilder: BuilderArrMap[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:
BuilderArrPairMap
final override def b1BuffGrow(buff: B1BuffT, newElem: B1): Unit

Expands / appends the B1 BuffSequ with a single element of B1.

Expands / appends the B1 BuffSequ with a single element of B1.

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Constructs the BuffSequ 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 BuffSequ 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

Inherited from:
BuilderArrPairIntNMap
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
Inherited from:
BuilderArrPairIntNMap
def buffGrowIter(buff: BuffT, newElems: Iterable[B]): 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
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:
BuilderArrPairIntN
override def empty: ArrB

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 => B): ArrB

Attributes

Inherited from:
BuilderArrMap

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

Inherited from:
BuilderArrPair

Attributes

Inherited from:
BuilderArrPair
final override def newBuff(length: Int): BuffT

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

Creates a new uninitialised SeqLike of type BB of the given length.

Creates a new uninitialised SeqLike of type BB of the given length.

Attributes

Definition Classes
Inherited from:
BuilderArrPairIntNMap

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:
BuilderArrPair