BuilderArrPair

ostrat.BuilderArrPair
trait BuilderArrPair[B1, ArrB1 <: Arr[B1], B2, ArrB <: ArrPair[B1, ArrB1, B2, _]] extends BuilderSeqLike[ArrB]

Base trait for building ArrPair objects via map and flatMap methods.

Attributes

Graph
Supertypes
trait BuilderSeqLike[ArrB]
trait BuilderBoth[ArrB]
class Object
trait Matchable
class Any
Known subtypes
trait BuilderArrPairDblN[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDbl4[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDbl4Map[B1, ArrB1, B2, B, ArrB]
trait BuilderFlatArrPairDbl4[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDblNFlat[B1, ArrB1, B2, ArrB]
trait BuilderArrPairDblNMap[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairDbl2Map[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairDbl3[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairIntN[B1, ArrB1, B2, ArrB]
trait BuilderArrPairInt4[B1, ArrB1, B2, ArrB]
trait BuilderArrPairInt4Flat[B1, ArrB1, B2, ArrB]
trait BuilderMapArrPairInt4[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]
trait BuilderFlatArrPair[B1, ArrB1, B2, ArrB]
trait BuilderMapArrPair[B1, ArrB1, B2, B, ArrB]
trait LineSegLikePairArrBuilder[B1V, B1, ArrB1, B2, B, ArrB]
trait BuilderArrMapPairSeqLike[B1E, B1, ArrB1, B2, B, ArrB]
trait PolygonLikePairArrBuilder[B1V, B1, ArrB1, B2, B, ArrB]
trait PolygonIntsLikePairArrBuilder[B1V, B1, ArrB1, A2, B, ArrB]
trait PolygonLikeDblNPairArrBuilder[B1V, B1, ArrB1, A2, B, ArrB]
trait BuilderMapArrPairSeqLikeDblN[B1E, B1, ArrB1, B2, B, ArrB]
trait BuilderMapArrPairSeqLikeIntN[B1E, B1, ArrB1, B2, B, ArrB]
class PolygonHCPairBuild[A2]
class RPairArrMapBuilder[B1, B2]
Show all

Members list

Type members

Types

type B1BuffT <: Buff[B1]

The type of the Buff for accumulating B1s.

The type of the Buff for accumulating B1s.

Attributes

type BuffT <: BuffPair[B1, B2, _]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = IntArr, or it can be a compile time wrapped Arraybuffer inheriting from Buff.

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = IntArr, or it can be a compile time wrapped Arraybuffer inheriting from Buff.

Attributes

Value members

Abstract methods

def arrFromBuffs(b1Buff: B1BuffT, b2Buffer: 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

def b1BuffGrow(buff: B1BuffT, newElem: B1): Unit

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

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

Attributes

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

Concrete methods

Inherited and Abstract methods

def buffToSeqLike(buff: BuffT): ArrB

converts a buffer of the given type to the target compound class.

converts a buffer of the given type to the target compound class.

Attributes

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

Implicits

Implicits

implicit def b2ClassTag: ClassTag[B2]

ClassTag for building Arrays and ArrayBuffers of B2s.

ClassTag for building Arrays and ArrayBuffers of B2s.

Attributes