BuilderMapSeqLike

ostrat.BuilderMapSeqLike
trait BuilderMapSeqLike[B, BB <: SeqLike[B]] extends BuilderMap[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 BuilderMap[B, BB]
trait BuilderBoth[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 PolygonLikeBuilderMap[B, BB]
trait PolygonDblNBuilderMap[B, BB]
trait PolygonDbl2BuilderMap[B, BB]
trait PolygonDbl3BuilderMap[B, BB]
trait PolygonIntNBuilderMap[B, BB]
trait PolygonInt2BuilderMap[B, BB]
trait PolygonInt3BuilderMap[B, BB]
trait BuilderArrMap[B, ArrB]
trait ArrayIntArrBuilder[A, ArrT]
trait BuilderMapArrArrayDbl[A, ArrT]
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]
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 BuilderMapArrPairInt4[B1, ArrB1, B2, B, ArrB]
class RPairArrMapBuilder[B1, B2]
trait BuilderMapArrValueN[B, ArrB]
trait BuilderArrDblNMap[B, ArrB]
trait BuilderArrDbl4Map[B, ArrB]
trait BuilderMapArrDbl2[B, ArrB]
trait BuilderMapArrDbl3[B, ArrB]
trait BuilderMapArrDbl5[B, ArrB]
trait BuilderMapArrDbl6[B, ArrB]
trait BuilderArrIntNMap[B, ArrB]
trait BuilderMapArrInt1[A, ArrT]
trait BuilderMapArrInt2[B, ArrB]
trait BuilderMapArrInt3[B, ArrB]
trait BuilderMapArrInt4[B, ArrB]
trait BuilderMapArrInt5[B, ArrB]
trait BuilderMapArrInt6[B, ArrB]
object DblArrBuilder
object IntArrBuilder
class RArrAllBuilder[B]
trait BuilderMapSeqLikeDblN[B, BB]
trait BuilderMapSeqLikeDbl2[B, BB]
trait BuilderMapSeqLikeDbl3[B, BB]
trait BuilderSeqLikeIntNMap[B, BB]
trait BuilderMapSeqLikeInt2[B, BB]
trait BuilderMapSeqLikeInt3[B, BB]
trait BuilderMapSeqLikeInt4[B, BB]
trait BuilderMapSeqLikeInt5[B, BB]
trait BuilderMapSeqLikeInt6[B, BB]
Show all

Members list

Type members

Types

type BuffT <: Buff[B]

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 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 Buff with the elements of the Iterable operand.

A mutable operation that extends the Buff 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 and Abstract 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:
BuilderMap
def buffToSeqLike(buff: BuffT): BB

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