RArrAllBuilder

ostrat.RArrAllBuilder
class RArrAllBuilder[B](implicit ct: ClassTag[B], notB: Not[SpecialT]#<none>[B]) extends BuilderArrMap[B, RArr[B]], BuilderArrFlat[RArr[B]]

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

Attributes

Graph
Supertypes
trait BuilderArrFlat[RArr[B]]
trait BuilderArrMap[B, RArr[B]]
trait BuilderSeqLikeMap[B, RArr[B]]
trait BuilderSeqLike[RArr[B]]
trait BuilderCollMap[B, RArr[B]]
trait BuilderColl[RArr[B]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Types

type BuffT = RBuff[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: RBuff[B], newElem: 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: RBuff[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: RBuff[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, newElem: 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): RBuff[B]

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

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

Attributes

Inherited from:
BuilderArrMap
def buffGrowIter(buff: BuffT, newElems: Iterable[B]): 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: RArr[B]

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

Attributes

Inherited from:
BuilderArrMap