ArrTBuild

ostrat.ArrTBuild
class ArrTBuild[B](implicit ct: ClassTag[B], notB: <none>[B]) extends ArrMapBuilder[B, RArr[B]] with ArrFlatBuilder[RArr[B]]

The default Immutable Array based collection builder for the Arr[A] class.

Attributes

Graph
Supertypes
trait ArrMapBuilder[B, RArr[B]]
trait SeqLikeMapBuilder[B, RArr[B]]
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Types

type BuffT = TBuff[B]

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: TBuff[B], value: B): 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: TBuff[B], arr: RArr[B]): 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: TBuff[B]): RArr[B]

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: RArr[B], index: Int, value: B): 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): TBuff[B]

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): RArr[B]

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: B): Boolean

Attributes

Inherited from:
ArrMapBuilder
def buffGrowIter(buff: BuffT, values: Iterable[B]): 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 => B): ArrB

Attributes

Inherited from:
ArrMapBuilder