SeqLikeMapBuilder

ostrat.SeqLikeMapBuilder
trait SeqLikeMapBuilder[B, BB <: SeqLike[B]] extends SeqLikeCommonBuilder[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
class Object
trait Matchable
class Any
Known subtypes
trait ArrMapBuilder[B, ArrB]
object AnyArrBuild.type
class ArrTBuild[B]
trait ArrayDblArrMapBuilder[A, ArrT]
trait ArrayIntArrBuilder[A, ArrT]
object BooleanArrBuilder.type
object DblArrBuilder.type
object FloatArrBuilder.type
object IntArrBuilder.type
object LongArrBuilder.type
trait PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait DblNPairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Dbl2PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Dbl3PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Dbl4PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait IntNPairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Int2PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Int3PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait Int4PairArrMapBuilder[B1, ArrB1, B2, B, ArrB]
trait SeqLikePairArrBuilder[B1E, B1, ArrB1, B2, B, ArrB]
trait SeqLikeDblNPairArrBuilder[B1E, B1, ArrB1, B2, B, ArrB]
trait PolygonLikeDblNPairArrBuilder[B1V, B1, ArrB1, A2, B, ArrB]
trait SeqLikeIntNPairArrBuilder[B1E, B1, ArrB1, B2, B, ArrB]
trait PolygonLikePairArrBuilder[B1V, B1, ArrB1, B2, B, ArrB]
trait PolygonIntsLikePairArrBuilder[B1V, B1, ArrB1, A2, B, ArrB]
trait LineSegLikePairArrBuilder[B1V, B1, ArrB1, B2, B, ArrB]
object StringArrBuilder.type
trait ValueNArrMapBuilder[B, ArrB]
trait DblNArrMapBuilder[B, ArrB]
trait Dbl2ArrMapBuilder[B, ArrB]
trait Dbl3ArrMapBuilder[B, ArrB]
trait Dbl4ArrMapBuilder[B, ArrB]
trait Dbl5ArrMapBuilder[B, ArrB]
trait Dbl6ArrMapBuilder[B, ArrB]
trait IntNArrMapBuilder[B, ArrB]
trait Int1ArrMapBuilder[A, ArrT]
trait Int2ArrMapBuilder[B, ArrB]
trait Int3ArrMapBuilder[B, ArrB]
trait Int4ArrMapBuilder[B, ArrB]
trait LinePathDbl2Builder[B, BB]
trait PolygonDbl2sBuilder[B, BB]
trait PolygonDbl3sBuilder[B, BB]
trait PolygonInt2sBuilder[B, BB]
trait PolygonIntNsBuilder[B, BB]
trait LinePathBuilder[B, BB]
trait PolygonBuilderData[B, BB]
trait PolygonDblNsBuilder[B, BB]

Members list

Concise view

Type members

Types

type BuffT <: Buff[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 buffGrow(buff: BuffT, value: 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

def indexSet(seqLike: BB, index: Int, value: 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 Arr of type ArrB of the given length.

Creates a new uninitialised Arr of type ArrB of the given length.

Attributes

Concrete methods

def buffGrowIter(buff: BuffT, values: Iterable[B]): Unit

A mutable operation that extends the ArrayBuffer with the elements of the Iterable operand.

A mutable operation that extends the ArrayBuffer with the elements of the Iterable operand.

Attributes

Inherited methods

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