BuffLongNs

trait BuffLongNs[A <: ElemLongN] extends BuffValueNs[A]

Specialised flat ArrayBuffer[Double] based collection class.

trait BuffValueNs[A]
trait SeqGen[A]
trait DataGen[A]
class Any
trait BuffLong1s[A, ArrA]

Type members

Inherited types

type ArrT <: ArrValueNs[A]
Inherited from
BuffValueNs
type ThisT <: SeqGen[A]

The final type of this object.

The final type of this object.

Inherited from
SeqGen

Value members

Abstract methods

def buffer: ArrayBuffer[Long]
def grow(newElem: A): Unit

Concrete methods

def toArray: Array[Long]

Inherited methods

@inline
def apply(index: Int): A

apply method accesses the individual elements of the sequence by 0 based index.

apply method accesses the individual elements of the sequence by 0 based index.

Inherited from
SeqGen
def collect[B, BB <: ArrBase[B]](pf: PartialFunction[A, B])(implicit ev: ArrBuilder[B, BB]): BB

Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

Inherited from
SeqGen
def collectList[B](pf: PartialFunction[A, B]): List[B]

Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

Inherited from
SeqGen
def contains[A1 >: A](elem: A1): Boolean
Inherited from
SeqGen
@inline
def cycleGet(index: Int): A

Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.

Applies an index to this ArrayLike collection which cycles back to element 0, when it reaches the end of the collection. Accepts even negative integers as an index value without throwing an exception.

Inherited from
SeqGen
def dataForeach[U](f: A => U): Unit

Performs a side effecting function on each element of this sequence in order.

Performs a side effecting function on each element of this sequence in order.

Inherited from
DataGen
def dataIForeach[U](f: (A, Int) => U): Unit

Performs a side effecting function on each element of this sequence in order.

Performs a side effecting function on each element of this sequence in order.

Inherited from
DataGen
def dataLast: A
Inherited from
DataGen
def dataMap[B, ArrB <: ArrBase[B]](f: A => B)(implicit ev: ArrBuilder[B, ArrB]): ArrB

Specialised map to an immutable ArrBase of B.

Specialised map to an immutable ArrBase of B.

Inherited from
DataGen
def dataTailForeach[U](f: A => U): Unit

Foreachs over the tail of the data sequence.

Foreachs over the tail of the data sequence.

Inherited from
DataGen
def dataTailfold[B](initial: B)(f: (B, A) => B): B

foldLeft over the tail of the data sequence.

foldLeft over the tail of the data sequence.

Inherited from
DataGen
def eMap[B, ArrB <: ArrBase[B]](f: A => EMon[B])(implicit ev: ArrBuilder[B, ArrB]): EMon[ArrB]
Inherited from
SeqGen
def eMapList[B](f: A => EMon[B]): EMon[List[B]]
Inherited from
SeqGen
def elemProdSize: Int
Inherited from
BuffValueNs
def elemsLenStr: String

Just a handy short cut to give the length of this collection as a string.

Just a handy short cut to give the length of this collection as a string.

Inherited from
DataGen
def elemsNum: Int

The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array will be this number or a multiple of this number.

The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array will be this number or a multiple of this number.

Inherited from
DataGen
final
def elemsStr: String

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.

Inherited from
DataGen
@inline
def empty: Boolean

Is this sequence empty?

Is this sequence empty?

Inherited from
SeqGen
def existsCount(f: A => Boolean): Int

Counts the number of elements that fulfil the condition A => Boolean

Counts the number of elements that fulfil the condition A => Boolean

Inherited from
SeqGen
override
def fElemStr: A => String
Definition Classes
Inherited from
BuffValueNs
def fMax[B](defaultValue: B)(f: A => B)(implicit cmp: Ordering[B]): B

Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Gives the maximum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Inherited from
SeqGen
def fMin[B](defaultValue: B)(f: A => B)(implicit cmp: Ordering[B]): B

Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Gives the minimum value of type B, produced by applying the function from A to B on each element of this collection, or the default value if the collection is empty.

Inherited from
SeqGen
def filter[ArrA <: ArrBase[A]](f: A => Boolean)(implicit ev: ArrBuilder[A, ArrA]): ArrA
Inherited from
SeqGen
def filterNot[ArrA <: ArrBase[A]](f: A => Boolean)(implicit ev: ArrBuilder[A, ArrA]): ArrA
Inherited from
SeqGen
def filterToList(f: A => Boolean): List[A]
Inherited from
SeqGen
def flatMap[ArrB <: ArrBase[_]](f: A => ArrB)(implicit ev: ArrFlatBuilder[ArrB]): ArrB

Specialised flatMap to an immutable Arr.

Specialised flatMap to an immutable Arr.

Inherited from
SeqGen
def foldHeadTail[B](initial: B)(fHead: (B, A) => B)(fTail: (B, A) => B): B
Inherited from
SeqGen
def foldLeft[B](initial: B)(f: (B, A) => B): B
Inherited from
SeqGen
def forAll(p: A => Boolean): Boolean
Inherited from
SeqGen
def foreach[U](f: A => U): Unit

Performs a side effecting function on each element of this sequence in order.

Performs a side effecting function on each element of this sequence in order.

Inherited from
SeqGen
def foreachInit[U](f: A => U): Unit
Inherited from
SeqGen
def foreachReverse[U](f: A => U): Unit

Consider changing this name, as might not be appropriate to all sub classes.

Consider changing this name, as might not be appropriate to all sub classes.

Inherited from
SeqGen
def grows(newElems: ArrT): Unit
Inherited from
BuffValueNs
@inline
def head: A

The first element of this sequence.

The first element of this sequence.

Inherited from
SeqGen
def headFold[B](noHead: => B)(ifHead: A => B): B

Folds over the non existence / existence of a head element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the head element.

Folds over the non existence / existence of a head element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the head element.

Inherited from
SeqGen
def iFlatMap[ArrB <: ArrBase[_]](iInit: Int)(f: (A, Int) => ArrB)(implicit build: ArrFlatBuilder[ArrB]): ArrB

Specialised flatMap with index to an immutable Arr.

Specialised flatMap with index to an immutable Arr.

Inherited from
SeqGen
def iFlatMap[ArrB <: ArrBase[_]](f: (A, Int) => ArrB)(implicit build: ArrFlatBuilder[ArrB]): ArrB

Specialised flatMap with index to an immutable Arr.

Specialised flatMap with index to an immutable Arr.

Inherited from
SeqGen
def iForAll(p: (A, Int) => Boolean): Boolean
Inherited from
SeqGen
def iForeach[U](startIndex: Int)(f: (A, Int) => U): Unit

Performs a side effecting function on each element of this sequence with an index starting at the given integer parameter.

Performs a side effecting function on each element of this sequence with an index starting at the given integer parameter.

Inherited from
SeqGen
def iForeach[U](f: (A, Int) => U): Unit

Performs a side effecting function on each element of this sequence with an index starting at 0.

Performs a side effecting function on each element of this sequence with an index starting at 0.

Inherited from
SeqGen
def iForeachReverse[U](f: (A, Int) => U): Unit
Inherited from
SeqGen
def iMap[B, ArrB <: ArrBase[B]](f: (A, Int) => B)(implicit ev: ArrBuilder[B, ArrB]): ArrB

Specialised map with index to an immutable ArrBase of B. This method should be overridden in sub classes.

Specialised map with index to an immutable ArrBase of B. This method should be overridden in sub classes.

Inherited from
SeqGen
def ifHead[U](f: A => U): Unit

if this SeqGen is nonEmpty performs the side effecting function on the head. If empty procedure is applied.

if this SeqGen is nonEmpty performs the side effecting function on the head. If empty procedure is applied.

Inherited from
SeqGen
@inline
def indexData(index: Int): A

apply method accesses the individual elements of the sequence by 0 based index.

apply method accesses the individual elements of the sequence by 0 based index.

Inherited from
DataGen
def indexOf(elem: A): Int
Inherited from
SeqGen
def indexWhere(f: A => Boolean): Int

Return the index of the first element where predicate is true, or -1 if predicate not true forall.

Return the index of the first element where predicate is true, or -1 if predicate not true forall.

Inherited from
SeqGen
def iterFlatMap[B, ArrB <: ArrBase[B]](f: A => Iterable[B])(implicit ev: ArrBuilder[B, ArrB]): ArrB

FlatMaps over a function from A to any Iterable.

FlatMaps over a function from A to any Iterable.

Inherited from
SeqGen
@inline
def last: A

The last element of this sequence.

The last element of this sequence.

Inherited from
SeqGen
def lastFold[B](noLast: => B)(ifLast: A => B): B

Folds over the non existence / existence of a last element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the last element.

Folds over the non existence / existence of a last element. The first parameter is a value for an empty sequence, the second parameter passed as a separate parameter list is a function on the last element.

Inherited from
SeqGen
def map[B, ArrB <: ArrBase[B]](f: A => B)(implicit ev: ArrBuilder[B, ArrB]): ArrB

Specialised map to an immutable ArrBase of B.

Specialised map to an immutable ArrBase of B.

Inherited from
SeqGen
def map2To1[B, ArrB <: ArrBase[B]](f: (A, A) => B)(implicit ev: ArrBuilder[B, ArrB]): ArrB

map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.

map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.

Inherited from
SeqGen
def mapCollectGoods[B, BB <: ArrBase[B]](f: A => EMon[B])(implicit ev: ArrBuilder[B, BB]): BB

maps from A to EMon[B], collects the good values.

maps from A to EMon[B], collects the good values.

Inherited from
SeqGen
def mapList[B <: AnyRef](f: A => B): List[B]

maps ValueProduct collection to List

maps ValueProduct collection to List

Inherited from
SeqGen
def mapWithAcc[B, ArrB <: ArrBase[B], C](initC: C)(f: (A, C) => (B, C))(implicit ev: ArrBuilder[B, ArrB]): ArrB
Inherited from
SeqGen
def max[B >: A](implicit ord: Ordering[B]): A
Inherited from
SeqGen
def min[B >: A](implicit ord: Ordering[B]): A
Inherited from
SeqGen
def mkString(seperator: String): String

Not sure about this method.

Not sure about this method.

Inherited from
SeqGen
@inline
def nonEmpty: Boolean

Is this sequence non empty?

Is this sequence non empty?

Inherited from
SeqGen
@inline

Method for keeping the typer happy when returning this as an instance of ThisT.

Method for keeping the typer happy when returning this as an instance of ThisT.

Inherited from
SeqGen
def sum(implicit ev: Sumable[A]): A
Inherited from
SeqGen
def sumBy(f: A => Int): Int
Inherited from
SeqGen
def tailForeach[U](f: A => U): Unit

Foreachs over the tail of this sequence.

Foreachs over the tail of this sequence.

Inherited from
SeqGen
def tailfold[B](initial: B)(f: (B, A) => B): B

foldLeft over the tail of this sequence.

foldLeft over the tail of this sequence.

Inherited from
SeqGen
def toArr(implicit build: ArrBuilder[A, ArrT]): ArrT
Inherited from
BuffValueNs
def toList: List[A]
Inherited from
SeqGen
final override
def toString: String
Definition Classes
DataGen -> Any
Inherited from
DataGen
def toStrsCommaFold(fToStr: A => String): String
Inherited from
SeqGen
def toStrsCommaNoSpaceFold(fToStr: A => String): String
Inherited from
SeqGen
def toStrsCommaParenth(fToStr: A => String): String
Inherited from
SeqGen
def toStrsFold(seperator: String, f: A => String): String
Inherited from
SeqGen
def toStrsSemiFold(fToStr: A => String): String
Inherited from
SeqGen
def toStrsSemiParenth(fToStr: A => String): String
Inherited from
SeqGen
def typeStr: String

String specifying the type of this object.

String specifying the type of this object.

Inherited from
DataGen
def unsafeSetElem(i: Int, value: A): Unit

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Inherited from
DataGen
def unsafeSetElems(index: Int, elems: A*): Unit

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.

Inherited from
DataGen
def zipMap[B, C, ArrC <: ArrBase[C]](operator: SeqGen[B])(f: (A, B) => C)(implicit ev: ArrBuilder[C, ArrC]): ArrC

Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.

Takes a second collection as a parameter and zips the elements of this collection and the operand collection and applies the specialised map function from type A and type B to type C.

Inherited from
SeqGen
def zipMap2[B, C, D, ArrD <: ArrBase[D]](operator1: SeqGen[B], operator2: SeqGen[C])(f: (A, B, C) => D)(implicit ev: ArrBuilder[D, ArrD]): ArrD

Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.

Takes a second collection and third collections as parameters and zips the elements of this collection and the operand collections and applies the specialised map function from type A and type B and type C to type D.

Inherited from
SeqGen