trait Dbl3sBuffer[A <: Dbl3Elem] extends DblNsBuffer[A]
A specialised flat ArrayBuffer[Double] based trait for Dbl3Elems collections.
- Alphabetic
- By Inheritance
- Dbl3sBuffer
- DblNsBuffer
- ValueNsBuffer
- ArrayLike
- ArrayLikeBase
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- abstract type ArrT <: Dbl3sArr[A]
- Definition Classes
- Dbl3sBuffer → DblNsBuffer → ValueNsBuffer
- abstract type ThisT <: ArrayLike[A]
The final type of this object.
The final type of this object.
- Definition Classes
- ArrayLike
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def apply(index: Int): A
- Definition Classes
- Dbl3sBuffer → ArrayLike
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def collect[B, BB <: ArrImut[B]](pf: PartialFunction[A, B])(implicit ev: ArrTBuilder[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.
- Definition Classes
- ArrayLike
- 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.
- Definition Classes
- ArrayLike
- def contains[A1 >: A](elem: A1): Boolean
- Definition Classes
- ArrayLike
- 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.
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.
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def eMap[B, ArrB <: ArrImut[B]](f: (A) => EMon[B])(implicit ev: ArrTBuilder[B, ArrB]): EMon[ArrB]
- Definition Classes
- ArrayLike
- def eMapList[B](f: (A) => EMon[B]): EMon[List[B]]
- Definition Classes
- ArrayLike
- def elemSize: Int
- Definition Classes
- Dbl3sBuffer → ValueNsBuffer
- def elemsLen: Int
The number of elements in the collection.
The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array maybe longer by a multiple of this number.
- Definition Classes
- DblNsBuffer → ArrayLikeBase
- def empty: Boolean
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def equals(arg0: Any): Boolean
- Definition Classes
- Any
- 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
- Definition Classes
- ArrayLike
- def fHeadElse[B](noHead: => B)(ifHead: (A) => B): B
- Definition Classes
- ArrayLike
- 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.
- Definition Classes
- ArrayLike
- 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.
- Definition Classes
- ArrayLike
- def filter[ArrA <: ArrImut[A]](f: (A) => Boolean)(implicit ev: ArrTBuilder[A, ArrA]): ArrA
- Definition Classes
- ArrayLike
- def filterNot[ArrA <: ArrImut[A]](f: (A) => Boolean)(implicit ev: ArrTBuilder[A, ArrA]): ArrA
- Definition Classes
- ArrayLike
- def filterToList(f: (A) => Boolean): List[A]
- Definition Classes
- ArrayLike
- def flatMap[ArrB <: ArrImut[_]](f: (A) => ArrB)(implicit ev: ArrTFlatBuilder[ArrB]): ArrB
Specialised flatMap to an immutable Arr.
Specialised flatMap to an immutable Arr.
- Definition Classes
- ArrayLike
- def foldHeadTail[B](initial: B)(fHead: (B, A) => B)(fTail: (B, A) => B): B
- Definition Classes
- ArrayLike
- def foldLeft[B](initial: B)(f: (B, A) => B): B
- Definition Classes
- ArrayLike
- def foldTailLeft[B](initial: B)(f: (B, A) => B): B
- Definition Classes
- ArrayLike
- def forAll(p: (A) => Boolean): Boolean
- Definition Classes
- ArrayLike
- def foreach[U](f: (A) => U): Unit
Performs the effectual function on each member of the collection.
Performs the effectual function on each member of the collection.
- Definition Classes
- ArrayLike → ArrayLikeBase
- def foreachInit[U](f: (A) => U): Unit
- Definition Classes
- ArrayLike
- 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.
- Definition Classes
- ArrayLike
- def foreachTail[U](f: (A) => U): Unit
- Definition Classes
- ArrayLike
- def grow(newElem: A): Unit
Grows the buffer by a single element.
Grows the buffer by a single element.
- Definition Classes
- Dbl3sBuffer → DblNsBuffer → ValueNsBuffer
- def grows(newElems: ArrT): Unit
- Definition Classes
- DblNsBuffer → ValueNsBuffer
- def hashCode(): Int
- Definition Classes
- Any
- def head: A
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def headToStringElse(ifEmptyString: String): String
- Definition Classes
- ArrayLike
- def iFlatMap[ArrB <: ArrImut[_]](iInit: Int = 0)(f: (A, Int) => ArrB)(implicit build: ArrTFlatBuilder[ArrB]): ArrB
Specialised flatMap with index to an immutable Arr.
Specialised flatMap with index to an immutable Arr.
- Definition Classes
- ArrayLike
- def iFlatMap[ArrB <: ArrImut[_]](f: (A, Int) => ArrB)(implicit build: ArrTFlatBuilder[ArrB]): ArrB
Specialised flatMap with index to an immutable Arr.
Specialised flatMap with index to an immutable Arr.
- Definition Classes
- ArrayLike
- def iForAll(p: (A, Int) => Boolean): Boolean
- Definition Classes
- ArrayLike
- def iForeach[U](startIndex: Int = 0)(f: (A, Int) => U): Unit
foreach with index.
foreach with index.
- Definition Classes
- ArrayLike → ArrayLikeBase
- def iForeach[U](f: (A, Int) => U): Unit
foreach with index starting at 0.
foreach with index starting at 0.
- Definition Classes
- ArrayLike → ArrayLikeBase
- def iForeachReverse[U](f: (A, Int) => U): Unit
- Definition Classes
- ArrayLike
- def iMap[B, ArrB <: ArrImut[B]](f: (A, Int) => B)(implicit ev: ArrTBuilder[B, ArrB]): ArrB
Specialised map with index to an immutable ArrBase of B.
Specialised map with index to an immutable ArrBase of B. This method should be overridden in sub classes.
- Definition Classes
- ArrayLike
- def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
- Definition Classes
- ArrayLike
- def indexOf(elem: A): Int
- Definition Classes
- ArrayLike
- 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.
- Definition Classes
- ArrayLike
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterFlatMap[B, ArrB <: ArrImut[B]](f: (A) => Iterable[B])(implicit ev: ArrTBuilder[B, ArrB]): ArrB
FlatMaps over a function from A to any Iterable.
FlatMaps over a function from A to any Iterable.
- Definition Classes
- ArrayLike
- def last: A
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def lenStr: 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.
- Definition Classes
- ArrayLikeBase
- def map[B, ArrB <: ArrImut[B]](f: (A) => B)(implicit ev: ArrTBuilder[B, ArrB]): ArrB
Specialised map to an immutable ArrBase of B.
Specialised map to an immutable ArrBase of B.
- Definition Classes
- ArrayLike
- def map2To1[B, ArrB <: ArrImut[B]](f: (A, A) => B)(implicit ev: ArrTBuilder[B, ArrB]): ArrB
map 2 elements of A to 1 element of B.
map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.
- Definition Classes
- ArrayLike
- def mapCollectGoods[B, BB <: ArrImut[B]](f: (A) => EMon[B])(implicit ev: ArrTBuilder[B, BB]): BB
maps from A to EMon[B], collects the good values.
maps from A to EMon[B], collects the good values.
- Definition Classes
- ArrayLike
- def mapList[B <: AnyRef](f: (A) => B): List[B]
maps ValueProduct collection to List
maps ValueProduct collection to List
- Definition Classes
- ArrayLike
- def mapWithAcc[B, ArrB <: ArrImut[B], C](initC: C)(f: (A, C) => (B, C))(implicit ev: ArrTBuilder[B, ArrB]): ArrB
- Definition Classes
- ArrayLike
- def max[B >: A](implicit ord: Ordering[B]): A
- Definition Classes
- ArrayLike
- def min[B >: A](implicit ord: Ordering[B]): A
- Definition Classes
- ArrayLike
- def mkString(seperator: String): String
Not sure about this method.
Not sure about this method.
- Definition Classes
- ArrayLike
- def nonEmpty: Boolean
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def returnThis: ThisT
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.
- Definition Classes
- ArrayLike
- Annotations
- @inline()
- def sum(implicit ev: Sumable[A]): A
- Definition Classes
- ArrayLike
- def sumBy(f: (A) => Int): Int
- Definition Classes
- ArrayLike
- def toArr(implicit build: ArrTBuilder[A, ArrT]): ArrT
- Definition Classes
- ValueNsBuffer
- def toArray: Array[Double]
- Definition Classes
- DblNsBuffer
- def toList: List[A]
- Definition Classes
- ArrayLike
- def toString(): String
- Definition Classes
- Any
- def toStrsCommaFold(fToStr: (A) => String): String
- Definition Classes
- ArrayLike
- def toStrsCommaNoSpaceFold(fToStr: (A) => String): String
- Definition Classes
- ArrayLike
- def toStrsCommaParenth(fToStr: (A) => String): String
- Definition Classes
- ArrayLike
- def toStrsFold(seperator: String, f: (A) => String): String
- Definition Classes
- ArrayLike
- def toStrsSemiFold(fToStr: (A) => String): String
- Definition Classes
- ArrayLike
- def toStrsSemiParenth(fToStr: (A) => String): String
- Definition Classes
- ArrayLike
- def zipMap[B, C, ArrC <: ArrImut[C]](operator: ArrayLike[B])(f: (A, B) => C)(implicit ev: ArrTBuilder[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.
- Definition Classes
- ArrayLike
- def zipMap2[B, C, D, ArrD <: ArrImut[D]](operator1: ArrayLike[B], operator2: ArrayLike[C])(f: (A, B, C) => D)(implicit ev: ArrTBuilder[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.
- Definition Classes
- ArrayLike