BuilderArrPairIntN

ostrat.BuilderArrPairIntN
trait BuilderArrPairIntN[B1 <: IntNElem, ArrB1 <: ArrIntN[B1], B2, ArrB <: ArrPairIntN[B1, ArrB1, B2, _]] extends BuilderArrPair[B1, ArrB1, B2, ArrB]

Common builder trait for PairArrIntN objects via both the map and flatMap methods.

Attributes

Graph
Supertypes
trait BuilderArrPair[B1, ArrB1, B2, ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderColl[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait BuilderArrPairInt4[B1, ArrB1, B2, ArrB]
trait BuilderArrPairInt4Flat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairInt4Map[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairIntNFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairIntNMap[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairIn1Map[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairInt2Map[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairInt3Map[B1, ArrB1, B2, B, ArrB]
Show all

Members list

Type members

Types

type B1BuffT <: BuffIntN[B1]

The type of the BuffSequ for accumulating B1s.

The type of the BuffSequ for accumulating B1s.

Attributes

type BuffT <: BuffPairIntN[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

Abstract 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

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

Concrete methods

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

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

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