ValueNArrFlatBuilder

ostrat.ValueNArrFlatBuilder
trait ValueNArrFlatBuilder[ArrB <: ValueNArr[_]] extends ValueNSeqLikeCommonBuilder[ArrB] with ArrFlatBuilder[ArrB]

Trait for creating the ArrTFlatBuilder type class instances for ValueNArr final classes. Instances for the [[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

Members list

Concise view

Type members

Inherited types

type BuffT <: Buff[_]

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

Value members

Inherited methods

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

Inherited from:
ArrFlatBuilder
def buffToSeqLike(buff: BuffT): BB

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

Inherited from:
SeqLikeCommonBuilder

Attributes

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

Inherited from:
SeqLikeCommonBuilder