IntArrBuilder

ostrat.IntArrBuilder$

Builder object for IntArr.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Types

type BuffT = IntBuff

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

override def buffGrow(buff: IntBuff, value: Int): 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
override def buffGrowArr(buff: IntBuff, arr: IntArr): 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
override def buffToSeqLike(buff: IntBuff): IntArr

converts a the buffer type to the target compound class.

converts a the buffer type to the target compound class.

Attributes

Definition Classes
override def indexSet(seqLike: IntArr, index: Int, value: Int): 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
override def newBuff(length: Int): IntBuff

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
override def uninitialised(length: Int): IntArr

Creates a new uninitialised Arr of type ArrB of the given length.

Creates a new uninitialised Arr of type ArrB of the given length.

Attributes

Definition Classes

Inherited methods

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

Attributes

Inherited from:
ArrMapBuilder
def buffGrowIter(buff: BuffT, values: Iterable[Int]): Unit

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

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

Attributes

Inherited from:
SeqLikeMapBuilder
def iterMap[A](inp: Iterable[A], f: A => Int): ArrB

Attributes

Inherited from:
ArrMapBuilder