BuilderSeqLikeIntNMap

ostrat.BuilderSeqLikeIntNMap

BuilderMap trait for constructing SeqLikeImut objects with IntNElems via map method. Type of element known at call site. Hence, implicit look up will be in the element companion object.

Attributes

Graph
Supertypes
trait BuilderMapSeqLike[B, BB]
trait BuilderMap[B, BB]
trait BuilderSeqLikeIntN[BB]
trait BuilderSeqLike[BB]
trait BuilderBoth[BB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait LinePathIntNMapBuilder[B, BB]
trait LinePathInt2MapBuilder[B, BB]
trait PolygonIntNBuilderMap[B, BB]
trait PolygonInt2BuilderMap[B, BB]
trait PolygonInt3BuilderMap[B, BB]
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]
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 <: BuffIntN[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 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
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 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

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

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

Attributes

Inherited from:
BuilderSeqLikeValueN
def fromIntArray(array: Array[Int]): BB

Attributes

Inherited from:
BuilderSeqLikeIntN

Attributes

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

Inherited from:
BuilderMapSeqLike