Int2sArrBuilder

trait Int2sArrBuilder[B <: Int2Elem, ArrB <: Int2sArr[B]] extends IntNsArrBuilder[B, ArrB]

Trait for creating the ArrTBuilder type class instances for Int2Arr 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 a sub class of Int2Elem, because to corresponds to the B in the map(f: A => B): ArrB function.

trait IntNsArrBuilder[B, ArrB]
trait ValueNsArrBuilder[B, ArrB]
trait ArrTBuilder[B, ArrB]
trait ArrTBuilderCommon[ArrB]
class Object
trait Matchable
class Any

Type members

Types

type BuffT <: Int2sBuffer[B, ArrB]

Value members

Concrete methods

final override def arrSet(arr: ArrB, index: Int, value: B): Unit
Definition Classes
override def buffGrow(buff: BuffT, value: B): Unit
Definition Classes
final override def elemSize: Int
Definition Classes
def newArray(length: Int): Array[Int]

Inherited methods

def buffContains(buff: BuffT, newElem: B): Boolean
Inherited from
ArrTBuilder
override def buffGrowArr(buff: BuffT, arr: ArrB): Unit
Definition Classes
Inherited from
IntNsArrBuilder
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
final override def buffToArr(buff: BuffT): ArrB
Definition Classes
Inherited from
IntNsArrBuilder
def fromIntArray(inp: Array[Int]): ArrB
Inherited from
IntNsArrBuilder
def fromIntBuffer(inp: ArrayBuffer[Int]): BuffT
Inherited from
IntNsArrBuilder
def iterMap[A](inp: Iterable[A], f: A => B): ArrB
Inherited from
ArrTBuilder
final override def newArr(length: Int): ArrB
Definition Classes
Inherited from
IntNsArrBuilder
final override def newBuff(length: Int): BuffT
Definition Classes
Inherited from
IntNsArrBuilder