BuilderMapArrInt1

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

BuilderMap trait for constructing Arrs of Int1Elems. impliciit instances for the builder type class, should go in the companion object of B.

Attributes

Graph
Supertypes
trait BuilderArrIntNMap[A, ArrT]
trait BuilderMapArrValueN[A, ArrT]
trait BuilderArrMap[A, ArrT]
trait BuilderSeqLikeIntNMap[A, ArrT]
trait BuilderMapSeqLikeValueN[A, ArrT]
trait BuilderMapSeqLike[A, ArrT]
trait BuilderMap[A, ArrT]
trait BuilderArrInt1[ArrT]
trait BuilderSeqLikeIntN[ArrT]
trait BuilderSeqLikeValueN[ArrT]
trait BuilderSeqLike[ArrT]
trait BuilderBoth[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 = 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

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 Buff with the elements of the Iterable operand.

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

Attributes

Inherited from:
BuilderMapSeqLike
final override def buffToSeqLike(buff: BuffT): ArrT

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

Inherited and Abstract methods

def fromIntArray(array: Array[Int]): ArrT

Attributes

Inherited from:
BuilderSeqLikeIntN

Attributes

Inherited from:
BuilderSeqLikeIntN