BuilderMapSeqLikeDbl2

ostrat.BuilderMapSeqLikeDbl2

BuilderMap trait for constructing SeqLikes with Dbl2Elem elements via the map method. Hence, the type of the element is known at the call site. So implicit type class instances should be placed in the companion object of the element.

Attributes

Graph
Supertypes
trait BuilderMapSeqLikeDblN[B, BB]
trait BuilderMapSeqLike[B, BB]
trait BuilderMap[B, BB]
trait BuilderSeqLikeDbl2[BB]
trait BuilderSeqLikeDblN[BB]
trait BuilderSeqLike[BB]
trait BuilderBoth[BB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait LinePathDbl2Builder[B, BB]
trait PolygonDbl2BuilderMap[B, BB]
trait BuilderMapArrDbl2[B, ArrB]

Members list

Type members

Types

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

Concrete methods

final override 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

Definition Classes

Inherited methods

final override 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

Definition Classes
Inherited from:
BuilderMapSeqLikeDblN
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

Inherited from:
BuilderMapSeqLike
final override 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

Definition Classes
Inherited from:
BuilderSeqLikeDblN
final override def elemProdSize: Int

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeDbl2
override def empty: BB

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Definition Classes
Inherited from:
BuilderMapSeqLike
final override 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

Definition Classes
Inherited from:
BuilderSeqLikeDblN
final override 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

Definition Classes
Inherited from:
BuilderMapSeqLikeDblN

Inherited and Abstract methods

Attributes

Inherited from:
BuilderSeqLikeDblN
def fromDblArray(array: Array[Double]): BB

Attributes

Inherited from:
BuilderSeqLikeDblN