BuilderSeqLikeMap

ostrat.BuilderSeqLikeMap
trait BuilderSeqLikeMap[B, BB <: SeqLike[B]] extends BuilderCollMap[B, BB], BuilderSeqLike[BB]

Builder trait for map operations. This has the additional method of buffGrow(buff: BuffT, value: B): Unit. This method is not required for flatMap operations where the type of the element of the SeqLike that the builder is constructed may not be known at the point of dispatch.

Attributes

Graph
Supertypes
trait BuilderSeqLike[BB]
trait BuilderCollMap[B, BB]
trait BuilderColl[BB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait LinePathBuilder[B, BB]
trait LinePathBuilderValueN[B, BB]
trait LinePathIntNMapBuilder[B, BB]
trait LinePathInt2MapBuilder[B, BB]
trait LinePathMapBuilderDblN[B, BB]
trait LinePathDbl2Builder[B, BB]
trait LinePathDbl3MapBuilder[B, BB]
trait PolygonLikeMapBuilder[B, BB]
trait PolygonDblNMapBuilder[B, BB]
trait PolygonDbl2MapBuilder[B, BB]
trait PolygonDbl3MapBuilder[B, BB]
trait PolygonIntNMapBuilder[B, BB]
trait PolygonInt2MapBuilder[B, BB]
trait PolygonInt3MapBuilder[B, BB]
trait BuilderArrMap[B, ArrB]
trait ArrayIntArrBuilder[A, ArrT]
trait BuilderArrPairMap[B1, ArrB1, B2, B, ArrB]
trait LineSegLikePairArrBuilder[B1V, B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairDblNMap[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairDbl2Map[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairDbl3[B1, ArrB1, B2, B, ArrB]
trait BuilderArrPairDbl4Map[B1, ArrB1, B2, B, 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 BuilderArrPairInt4Map[B1, ArrB1, B2, B, ArrB]
class RPairArrMapBuilder[B1, B2]
trait SeqLikePairArrBuilder[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 SeqLikeDblNPairArrBuilder[B1E, B1, ArrB1, B2, B, ArrB]
trait SeqLikeIntNPairArrBuilder[B1E, B1, ArrB1, B2, B, ArrB]
class PolygonHCPairBuild[A2]
trait BuilderArrValueNMap[B, ArrB]
trait BuilderArrDblNMap[B, ArrB]
trait BuilderArrDbl2Map[B, ArrB]
trait BuilderArrDbl3Map[B, ArrB]
trait BuilderArrDbl4Map[B, ArrB]
trait BuilderArrDbl5Map[B, ArrB]
trait BuilderArrDbl6Map[B, ArrB]
trait BuilderArrIntNMap[B, ArrB]
trait BuilderArrInt1Map[A, ArrT]
trait BuilderArrInt2Map[B, ArrB]
trait BuilderArrInt3Map[B, ArrB]
trait BuilderArrInt4Map[B, ArrB]
trait BuilderArrInt5Map[B, ArrB]
trait BuilderArrInt6Map[B, ArrB]
trait BuilderMapArrArrayDbl[A, ArrT]
object DblArrBuilder
object IntArrBuilder
class RArrAllBuilder[B]
trait BuilderSeqLikeDblNMap[B, BB]
trait BuilderSeqLikeDbl2Map[B, BB]
trait BuilderSeqLikeDbl3Map[B, BB]
trait BuilderSeqLikeIntNMap[B, BB]
trait BuilderSeqLikeInt2Map[B, BB]
trait BuilderSeqLikeInt3Map[B, BB]
trait BuilderSeqLikeInt4Map[B, BB]
trait BuilderSeqLikeInt5Map[B, BB]
trait BuilderSeqLikeInt6Map[B, BB]
Show all

Members list

Type members

Types

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

Value members

Abstract methods

def indexSet(seqLike: BB, 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

def uninitialised(length: Int): BB

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

Concrete methods

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

override def empty: BB

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Definition Classes

Inherited methods

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

Inherited from:
BuilderCollMap
def buffToSeqLike(buff: BuffT): BB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

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

Inherited from:
BuilderColl