Int1ArrFlatBuilder

ostrat.Int1ArrFlatBuilder
trait Int1ArrFlatBuilder[ArrT <: Int1Arr[_]] extends Int1ArrCommonBuilder[ArrT] with IntNArrFlatBuilder[ArrT]

Trait for creating the ArrTBuilder and ArrTFlatBuilder type class instances for Int1Arr final classes. Instances for the ArrMapBuilder 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, because to corresponds to the B in map(f: A => B): ArrB function.

Attributes

Graph
Supertypes
trait IntNArrFlatBuilder[ArrT]
trait ArrFlatBuilder[ArrT]
trait SeqLikeFlatBuilder[ArrT]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Inherited types

type BuffT <: Int1Buff[_]

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

Value members

Inherited methods

final override def buffGrowArr(buff: BuffT, arr: ArrT): Unit

A mutable operation that extends the ArrayBuffer with the elements of the Immutable Array operand.

A mutable operation that extends the ArrayBuffer with the elements of the Immutable Array operand.

Attributes

Definition Classes
Inherited from:
IntNArrFlatBuilder
final override def buffToSeqLike(buff: BuffT): ArrB

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:
IntNArrFlatBuilder
final override def elemProdSize: Int

Attributes

Definition Classes
Inherited from:
Int1ArrCommonBuilder
def fromIntArray(array: Array[Int]): BB

Attributes

Inherited from:
IntNSeqLikeCommonBuilder

Attributes

Inherited from:
IntNSeqLikeCommonBuilder
final override def newBuff(length: Int): BuffT

Creates a new empty Buff with a default capacity of 4 elements.

Creates a new empty Buff with a default capacity of 4 elements.

Attributes

Definition Classes
Inherited from:
IntNSeqLikeCommonBuilder