BuilderArrIn1Flat

ostrat.BuilderArrIn1Flat
trait BuilderArrIn1Flat[ArrT <: ArrInt1[_]] extends BuilderArrInt1[ArrT], BuilderArrIntNFlat[ArrT]

Trait for creating the ArrTBuilder and ArrTFlatBuilder type class instances for ArrInt1 final classes. Instances for the BuilderArrMap type class, for classes / traits you control, should go in the companion object of B. Instances for [[BuilderArrFlat] 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 BuilderArrIntNFlat[ArrT]
trait BuilderArrValueNFlat[ArrT]
trait BuilderArrFlat[ArrT]
trait BuilderSeqLikeFlat[ArrT]
trait BuilderArrInt1[ArrT]
trait BuilderSeqLikeIntN[ArrT]
trait BuilderSeqLikeValueN[ArrT]
trait BuilderSeqLike[ArrT]
trait BuilderColl[ArrT]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

type BuffT <: BuffInt1[_]

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

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:
BuilderArrIntNFlat
final override def buffToSeqLike(buff: BuffT): ArrT

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

Attributes

Definition Classes
Inherited from:
BuilderArrInt1
def fromIntArray(array: Array[Int]): ArrT

Attributes

Inherited from:
BuilderSeqLikeIntN

Attributes

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

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

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

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeIntN