Packages

t

ostrat

Dbl5sArr

trait Dbl5sArr[A <: Dbl5Elem] extends DblNsArr[A]

A specialised immutable, flat Array[Double] based collection of a type of Dbl5Elems.

Linear Supertypes
DblNsArr[A], ArrayDblBased, ValueNsArr[A], ArrImut[A], ArrayLike[A], ArrayLikeBase[A @scala.annotation.unchecked.uncheckedVariance], Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Dbl5sArr
  2. DblNsArr
  3. ArrayDblBased
  4. ValueNsArr
  5. ArrImut
  6. ArrayLike
  7. ArrayLikeBase
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type ThisT <: DblNsArr[A]
    Definition Classes
    DblNsArrValueNsArrArrImutArrayLike

Abstract Value Members

  1. abstract def arrayUnsafe: Array[Double]
    Definition Classes
    ArrayDblBased
  2. abstract def fElemStr: (A) => String
    Definition Classes
    ArrImut
  3. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  4. abstract def newElem(d1: Double, d2: Double, d3: Double, d4: Double, d5: Double): A
  5. abstract def typeStr: String
    Definition Classes
    ArrImut
  6. abstract def unsafeFromArray(array: Array[Double]): ThisT
    Definition Classes
    DblNsArr

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++[N <: ValueNsArr[A]](operand: N)(implicit factory: (Int) => N): N

    Appends ProductValue collection with the same type of Elements to a new ValueProduct collection.

    Appends ProductValue collection with the same type of Elements to a new ValueProduct collection. Note the operand collection can have a different type, although it shares the same element type. In such a case, the returned collection will have the type of the operand not this collection.

    Definition Classes
    ValueNsArr
  4. def :+[N <: ValueNsArr[A]](operand: A)(implicit factory: (Int) => N): N

    Appends an element to a new ProductValue collection of type N with the same type of Elements.

    Appends an element to a new ProductValue collection of type N with the same type of Elements.

    Definition Classes
    ValueNsArr
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def appendArray(appendProductsLength: Int): Array[Double]

    Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

    Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.

    Definition Classes
    DblNsArr
  7. def apply(index: Int): A
    Definition Classes
    Dbl5sArrArrayLike
  8. def arrLen: Int

    The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.

    The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.

    Definition Classes
    DblNsArrValueNsArr
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. 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
  11. 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
  12. def contains[A1 >: A](elem: A1): Boolean
    Definition Classes
    ArrayLike
  13. 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()
  14. def eMap[B, ArrB <: ArrImut[B]](f: (A) => EMon[B])(implicit ev: ArrTBuilder[B, ArrB]): EMon[ArrB]
    Definition Classes
    ArrayLike
  15. def eMapList[B](f: (A) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  16. def elemProductNum: Int

    The number of Doubles, that specify / construct an element of this immutable flat Array based collection class.

    The number of Doubles, that specify / construct an element of this immutable flat Array based collection class.

    Definition Classes
    Dbl5sArrDblNsArrValueNsArr
  17. final def elemsLen: Int

    The number of product elements in this collection.

    The number of product elements in this collection. For example in a this is the number of Pt2s in the Polygon

    Definition Classes
    ValueNsArrArrayLikeBase
  18. final def elemsStr: String

    The element String allows the composition of toString for the whole collection.

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

    Definition Classes
    ArrImut
  19. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  20. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  21. 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
  22. def fHeadElse[B](noHead: => B)(ifHead: (A) => B): B
    Definition Classes
    ArrayLike
  23. 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
  24. 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
  25. def filter[ArrA <: ArrImut[A]](f: (A) => Boolean)(implicit ev: ArrTBuilder[A, ArrA]): ArrA
    Definition Classes
    ArrayLike
  26. def filterNot[ArrA <: ArrImut[A]](f: (A) => Boolean)(implicit ev: ArrTBuilder[A, ArrA]): ArrA
    Definition Classes
    ArrayLike
  27. def filterToList(f: (A) => Boolean): List[A]
    Definition Classes
    ArrayLike
  28. def find(f: (A) => Boolean): Option[A]
    Definition Classes
    ArrImut
  29. 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
  30. def foldHeadTail[B](initial: B)(fHead: (B, A) => B)(fTail: (B, A) => B): B
    Definition Classes
    ArrayLike
  31. def foldLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  32. def foldTailLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  33. def foldWithPrevious[B](initPrevious: A, initAcc: B)(f: (B, A, A) => B): B
    Definition Classes
    ValueNsArr
  34. def forAll(p: (A) => Boolean): Boolean
    Definition Classes
    ArrayLike
  35. def foreach[U](f: (A) => U): Unit

    Performs the effectful function on each member of the collection.

    Performs the effectful function on each member of the collection.

    Definition Classes
    ArrayLikeArrayLikeBase
  36. def foreachArr(f: (Dbls) => Unit): Unit
    Definition Classes
    Dbl5sArrDblNsArr
  37. def foreachInit[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  38. 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
  39. def foreachTail[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  40. def hashCode(): Int
    Definition Classes
    Any
  41. def head: A
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  42. def head1: Double
  43. def head2: Double
  44. def head3: Double
  45. def head4: Double
  46. def head5: Double
  47. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  48. 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
  49. 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
  50. def iForAll(p: (A, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  51. def iForeach[U](f: (A, Int) => U, startIndex: Int = 0): Unit

    foreach with index.

    foreach with index. The startIndex parameter is placed 2nd to allow it to have a default value of zero.

    Definition Classes
    ArrayLike
  52. def iForeachReverse[U](f: (A, Int) => U): Unit
    Definition Classes
    ArrayLike
  53. 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
  54. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  55. def indexOf(elem: A): Int
    Definition Classes
    ArrayLike
  56. 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
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. 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
  59. def last: A
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  60. 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
  61. 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
  62. 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
  63. 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
  64. def mapList[B <: AnyRef](f: (A) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  65. def mapWithAcc[B, ArrB <: ArrImut[B], C](initC: C)(f: (A, C) => (B, C))(implicit ev: ArrTBuilder[B, ArrB]): ArrB
    Definition Classes
    ArrayLike
  66. def max[B >: A](implicit ord: Ordering[B]): A
    Definition Classes
    ArrayLike
  67. def min[B >: A](implicit ord: Ordering[B]): A
    Definition Classes
    ArrayLike
  68. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  69. def modifyWhere(pred: (A) => Boolean, fNewValue: (A) => A): ThisT

    Replaces all instances of the old value that fulfill predicate with the new value.

    Replaces all instances of the old value that fulfill predicate with the new value.

    Definition Classes
    ArrImut
  70. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  71. def pMap[B <: ValueNElem, N <: ValueNsArr[B]](f: (A) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ValueNsArr
  72. def removeFirst(f: (A) => Boolean): ThisT
    Definition Classes
    ArrImut
  73. def replace(oldValue: A, newValue: A): ThisT

    Replaces all instances of the old value with the new value.

    Replaces all instances of the old value with the new value.

    Definition Classes
    ArrImut
  74. def replaceWhere(pred: (A) => Boolean, newValue: A): ThisT

    Replaces all instances of the old value that fulfill predicate with the new value.

    Replaces all instances of the old value that fulfill predicate with the new value.

    Definition Classes
    ArrImut
  75. def returnThis: ThisT
    Definition Classes
    ArrayLike
  76. def sumBy(f: (A) => Int): Int
    Definition Classes
    ArrayLike
  77. def toList: List[A]
    Definition Classes
    ArrayLike
  78. final def toString(): String
    Definition Classes
    ArrImut → Any
  79. def toStrsCommaFold(fToStr: (A) => String): String
    Definition Classes
    ArrayLike
  80. def toStrsCommaNoSpaceFold(fToStr: (A) => String): String
    Definition Classes
    ArrayLike
  81. def toStrsCommaParenth(fToStr: (A) => String): String
    Definition Classes
    ArrayLike
  82. def toStrsFold(seperator: String, f: (A) => String): String
    Definition Classes
    ArrayLike
  83. def toStrsSemiFold(fToStr: (A) => String): String
    Definition Classes
    ArrayLike
  84. def toStrsSemiParenth(fToStr: (A) => String): String
    Definition Classes
    ArrayLike
  85. def unsafeArrayCopy(operand: Array[A], offset: Int, copyLength: Int): Unit
    Definition Classes
    ArrImut
  86. def unsafeCopyFromArray(opArray: Array[Double], offset: Int = 0): Unit
    Definition Classes
    DblNsArr
  87. final def unsafeNew(length: Int): ThisT
    Definition Classes
    DblNsArrArrImut
  88. final def unsafeSetElem(index: Int, elem: A): Unit
    Definition Classes
    Dbl5sArrArrImut
  89. def unsafeSetElemSeq(index: Int, elems: Iterable[A]): Unit
    Definition Classes
    ArrImut
  90. def unsafeSetElems(index: Int, elems: A*): Unit
    Definition Classes
    ArrImut
  91. def unsafeSetHead(value: A): Unit
    Definition Classes
    ArrImut
  92. def unsafeSetLast(value: A): Unit
    Definition Classes
    ArrImut
  93. 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
  94. 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

Inherited from DblNsArr[A]

Inherited from ArrayDblBased

Inherited from ValueNsArr[A]

Inherited from ArrImut[A]

Inherited from ArrayLike[A]

Inherited from ArrayLikeBase[A @scala.annotation.unchecked.uncheckedVariance]

Inherited from Any

Ungrouped