BuilderArrInt1Map

ostrat.BuilderArrInt1Map
trait BuilderArrInt1Map[A <: Int1Elem, ArrT <: ArrInt1[A]] extends BuilderArrInt1[ArrT], BuilderArrIntNMap[A, ArrT]

Trait for creating the ArrTBuilder 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. The first type parameter is called B, because to corresponds to the B in map(f: A => B): ArrB function.

Attributes

Graph
Supertypes
trait BuilderArrIntNMap[A, ArrT]
trait BuilderArrValueNMap[A, ArrT]
trait BuilderArrMap[A, ArrT]
trait BuilderSeqLikeIntNMap[A, ArrT]
trait BuilderSeqLikeValueNMap[A, ArrT]
trait BuilderSeqLikeMap[A, ArrT]
trait BuilderCollMap[A, 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

Types

type BuffT <: BuffInt1[A]

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

Value members

Concrete methods

final override def buffGrow(buff: BuffT, newElem: A): Unit

A mutable operation that extends the ArrayBuffer by a single element of type B.

A mutable operation that extends the ArrayBuffer by a single element of type B.

Attributes

Definition Classes
final override def indexSet(seqLike: ArrT, index: Int, newElem: A): Unit

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Sets the value in a SeqLike of type BB. This is usually used in conjunction with uninitialised method.

Attributes

Definition Classes

Inherited methods

def buffContains(buff: BuffT, newElem: A): Boolean

Attributes

Inherited from:
BuilderArrMap
def buffGrowIter(buff: BuffT, newElems: Iterable[A]): Unit

A mutable operation that extends the BuffSequ with the elements of the Iterable operand.

A mutable operation that extends the BuffSequ with the elements of the Iterable operand.

Attributes

Inherited from:
BuilderSeqLikeMap
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:
BuilderSeqLikeIntNMap
final override def elemProdSize: Int

Attributes

Definition Classes
Inherited from:
BuilderArrInt1
override def empty: ArrT

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

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

Attributes

Inherited from:
BuilderSeqLikeIntN

Attributes

Inherited from:
BuilderSeqLikeIntN
def iterMap[A](inp: Iterable[A], f: A => A): ArrT

Attributes

Inherited from:
BuilderArrMap
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
final override def uninitialised(length: Int): ArrT

Creates a new uninitialised SeqLike of type BB of the given length.

Creates a new uninitialised SeqLike of type BB of the given length.

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeIntNMap