LinePathInt2MapBuilder

ostrat.geom.LinePathInt2MapBuilder

Trait for creating the line path type class instances for LinePathInt2 final classes. Instances for the LinePathInt2MapBuilder type class, for classes / traits you control, should go in the companion object of type B, which will extend Int2Elem. The first type parameter is called B, because it corresponds to the B in map[B](f: A => B)(implicit build: ArrTBuilder[B, ArrB]): ArrB function.

Attributes

Graph
Supertypes
trait BuilderSeqLikeInt2Map[B, BB]
trait BuilderSeqLikeInt2[BB]
trait LinePathIntNMapBuilder[B, BB]
trait BuilderSeqLikeIntNMap[B, BB]
trait BuilderSeqLikeIntN[BB]
trait LinePathBuilderValueN[B, BB]
trait LinePathBuilder[B, BB]
trait BuilderSeqLikeMap[B, BB]
trait BuilderSeqLike[BB]
trait BuilderCollMap[B, BB]
trait BuilderColl[BB]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

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

Inherited from:
BuilderSeqLikeInt2Map

Value members

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

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

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

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeInt2
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:
BuilderSeqLikeMap
def fromIntArray(array: Array[Int]): BB

Attributes

Inherited from:
BuilderSeqLikeIntN

Attributes

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

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