BuilderMapArrInt2

ostrat.BuilderMapArrInt2
trait BuilderMapArrInt2[B <: Int2Elem, ArrB <: ArrInt2[B]] extends BuilderMapSeqLikeInt2[B, ArrB], BuilderArrIntNMap[B, ArrB]

BuilderMap trait for constructing Arrs with Int2Elems via the map method. Implicit type class instances should go in the companion object of the B class.

Attributes

Graph
Supertypes
trait BuilderArrIntNMap[B, ArrB]
trait BuilderMapArrValueN[B, ArrB]
trait BuilderArrMap[B, ArrB]
trait BuilderMapSeqLikeInt2[B, ArrB]
trait BuilderSeqLikeIntNMap[B, ArrB]
trait BuilderMapSeqLikeValueN[B, ArrB]
trait BuilderMapSeqLike[B, ArrB]
trait BuilderMap[B, ArrB]
trait BuilderSeqLikeInt2[ArrB]
trait BuilderSeqLikeIntN[ArrB]
trait BuilderSeqLikeValueN[ArrB]
trait BuilderSeqLike[ArrB]
trait BuilderBoth[ArrB]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited and Abstract types

type BuffT <: BuffValueN[B]

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = IntArr, or it can be a compile time wrapped Arraybuffer inheriting from Buff.

BuffT can be inbuilt Jvm type like ArrayBuffer[Int] for B = Int and BB = IntArr, or it can be a compile time wrapped Arraybuffer inheriting from Buff.

Attributes

Inherited from:
BuilderMapArrValueN

Value members

Inherited methods

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

Attributes

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

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

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

Attributes

Inherited from:
BuilderMapSeqLike
final override def buffToSeqLike(buff: BuffT): ArrB

converts a buffer of the given type to the target compound class.

converts a buffer of the given type to the target compound class.

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeIntNMap
final override def elemProdSize: Int

Attributes

Definition Classes
Inherited from:
BuilderSeqLikeInt2
override def empty: ArrB

Creates a new empty SeqLike of type BB.

Creates a new empty SeqLike of type BB.

Attributes

Definition Classes
Inherited from:
BuilderMapSeqLike
final override def indexSet(seqLike: ArrB, 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
Inherited from:
BuilderMapSeqLikeInt2
def iterMap[A](inp: Iterable[A], f: A => B): ArrB

Attributes

Inherited from:
BuilderArrMap
final override def newBuff(length: Int): BuffT

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
Inherited from:
BuilderSeqLikeIntN
final override def uninitialised(length: Int): ArrB

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 from:
BuilderSeqLikeIntNMap

Inherited and Abstract methods

def fromIntArray(array: Array[Int]): ArrB

Attributes

Inherited from:
BuilderSeqLikeIntN

Attributes

Inherited from:
BuilderSeqLikeIntN