ArrInt2sFlatBuilder

trait ArrInt2sFlatBuilder[B <: ElemInt2, ArrB <: ArrInt2s[B]] extends ArrIntNsFlatBuilder[B, ArrB]

Trait for creating the ArrTBuilder and ArrTFlatBuilder type class instances for Int2Arr final classes. Instances for the ArrBuilder type class, for classes / traits you control, should go in the companion object of B. Instances for [[ArrFlatBuilder] should go in the companion object the ArrT final class. 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 ArrIntNsFlatBuilder[B, ArrB]
trait ArrValueNsFlatBuilder[B, ArrB]
trait ArrFlatBuilder[ArrB]
trait DataBuilderCommon[ArrB]
class Object
trait Matchable
class Any

Type members

Types

type BuffT <: BuffInt2s[B]

Value members

Concrete methods

final override
def elemProdSize: Int
Definition Classes
def newArray(length: Int): Array[Int]

Inherited methods

override
def buffGrowArr(buff: BuffT, arr: ArrB): Unit
final override
def buffToBB(buff: BuffT): ArrB
def fromIntArray(inp: Array[Int]): ArrB
Inherited from
ArrIntNsFlatBuilder
def fromIntBuffer(inp: ArrayBuffer[Int]): BuffT
Inherited from
ArrIntNsFlatBuilder
final override
def newBuff(length: Int): BuffT