BuilderArrIntNFlat

ostrat.BuilderArrIntNFlat
trait BuilderArrIntNFlat[ArrB <: ArrIntN[_]] extends BuilderSeqLikeIntN[ArrB], BuilderFlatArrValueN[ArrB]

BuilderFlat trait for creating Arr objects with IntNElems by the flatMap method. Instances for [[BuilderArrFlat] should go in the companion object of the Arr 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 BuilderFlatArrValueN[ArrB]
trait BuilderArrFlat[ArrB]
trait BuilderFlatSeqLike[ArrB]
trait BuilderSeqLikeIntN[ArrB]
trait BuilderSeqLikeValueN[ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderBoth[ArrB]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait BuilderArrInt6Flat[ArrB]
trait BuilderFlatArrIn1[ArrB]
trait BuilderFlatArrInt2[ArrB]
trait BuilderFlatArrInt3[ArrB]
trait BuilderFlatArrInt4[ArrB]
trait BuilderFlatArrInt5[ArrB]
Show all

Members list

Type members

Inherited and Abstract types

type BuffT <: BuffIntN[_]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = IntArr, or it can be a compile time wrapped Arraybuffer inheriting from Buff.

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = IntArr, or it can be a compile time wrapped Arraybuffer inheriting from Buff.

Attributes

Inherited from:
BuilderSeqLikeIntN

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 buffer of the given type to the target compound class.

converts a buffer of the given type to the target compound class.

Attributes

Definition Classes

Inherited methods

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

Inherited and Abstract methods

Attributes

Inherited from:
BuilderSeqLikeValueN
def fromIntArray(array: Array[Int]): ArrB

Attributes

Inherited from:
BuilderSeqLikeIntN

Attributes

Inherited from:
BuilderSeqLikeIntN