FloatArrBuilder

ostrat.FloatArrBuilder

Attributes

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

Members list

Type members

Types

type BuffT = FloatBuff

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: FloatBuff, newElem: Float): 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: FloatBuff, arr: FloatArr): 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: FloatBuff): FloatArr

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: FloatArr, index: Int, newElem: Float): 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): FloatBuff

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): FloatArr

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

Attributes

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

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 => Float): FloatArr

Attributes

Inherited from:
BuilderArrMap