IntNsArrBuilder

trait IntNsArrBuilder[B <: IntNElem, ArrB <: IntNsArr[B]] extends ValueNsArrBuilder[B, ArrB]

Trait for creating the ArrTBuilder type class instances for IntNsArr final classes. Instances for the ArrTBuilder 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 ValueNsArrBuilder[B, ArrB]
trait ArrTBuilder[B, ArrB]
trait ArrTBuilderCommon[ArrB]
class Object
trait Matchable
class Any
trait Int1sArrBuilder[A, ArrT]
trait Int2sArrBuilder[B, ArrB]

Type members

Types

type BuffT <: IntNsBuffer[B]

Value members

Abstract methods

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

Concrete methods

override def buffGrowArr(buff: BuffT, arr: ArrB): Unit
Definition Classes
final override def buffToArr(buff: BuffT): ArrB
Definition Classes
final override def newArr(length: Int): ArrB
Definition Classes
final override def newBuff(length: Int): BuffT
Definition Classes

Inherited methods

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

Inherited from
ArrTBuilder
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
ArrTBuilder
def elemSize: Int
Inherited from
ValueNsArrBuilder
def iterMap[A](inp: Iterable[A], f: A => B): ArrB
Inherited from
ArrTBuilder