IntNArrFlatBuilder

ostrat.IntNArrFlatBuilder
trait IntNArrFlatBuilder[ArrB <: IntNArr[_]] extends IntNSeqLikeCommonBuilder[ArrB] with ValueNArrFlatBuilder[ArrB]

Trait for creating the ArrTFlatBuilder type class instances for IntNArr final classes. 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 ArrFlatBuilder[ArrB]
trait SeqLikeFlatBuilder[ArrB]
class Object
trait Matchable
class Any
Known subtypes
trait Int1ArrFlatBuilder[ArrT]
trait Int2ArrFlatBuilder[ArrB]
trait Int3ArrFlatBuilder[ArrB]
trait Int4ArrFlatBuilder[ArrB]
trait Int5ArrFlatBuilder[ArrB]
trait Int6ArrFlatBuilder[ArrB]

Members list

Concise view

Type members

Inherited types

type BuffT <: IntNBuff[_]

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

Value members

Concrete methods

final override def buffGrowArr(buff: BuffT, arr: ArrB): 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
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 methods

Attributes

Inherited from:
ValueNSeqLikeCommonBuilder
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