LongArrBuilder

ostrat.LongArrBuilder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Types

type BuffT = LongBuff

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: LongBuff, newElem: Long): 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: LongBuff, arr: LongArr): 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: LongBuff): LongArr

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: LongArr, index: Int, newElem: Long): 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): LongBuff

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

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 methods

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

Attributes

Inherited from:
BuilderArrMap
def buffGrowIter(buff: BuffT, newElems: Iterable[Long]): 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
override def empty: LongArr

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeMap
def iterMap[A](inp: Iterable[A], f: A => Long): LongArr

Attributes

Inherited from:
BuilderArrMap