PolygonIntNsBuilder

trait PolygonIntNsBuilder[B <: ElemIntN, BB <: PolygonIntNs[B]]() extends PolygonValueNsBuilder[B, BB]

Trait for creating the builder type class instances for PolygonDblNs final classes. Instances for the PolygonBuilder type class, for classes / traits you control, should go in the companion object of B. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.

trait PolygonBuilder[B, BB]
class Object
trait Matchable
class Any
trait PolygonInt2sBuilder[B, BB]

Type members

Types

type BuffT <: BuffIntNs[B]

Value members

Abstract methods

def fromIntArray(array: Array[Int]): BB
def fromIntBuffer(inp: ArrayBuffer[Int]): BuffT

Concrete methods

final override
def buffGrow(buff: BuffT, value: B): Unit
Definition Classes
final override
def buffGrowArr(buff: BuffT, arr: BB): Unit
Definition Classes
final override
def buffToBB(buff: BuffT): BB
Definition Classes
final override
def newBuff(length: Int): BuffT
Definition Classes
final override
def newPolygonT(length: Int): BB
Definition Classes

Inherited methods

def arrSet(arr: BB, index: Int, value: B): Unit
Inherited from
PolygonBuilder
def buffContains(buff: BuffT, newElem: B): Boolean
Inherited from
PolygonBuilder
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.

Inherited from
PolygonBuilder
def elemProdSize: Int
Inherited from
PolygonValueNsBuilder
def iterMap[A](inp: Iterable[A], f: A => B): BB
Inherited from
PolygonBuilder