Packages

final class Angles extends AnyVal with ArrProdDbl1[Angle]

Efficient Immutable Array[Double] based collection class, with the Angle values stored as arc seconds.

Linear Supertypes
ArrProdDbl1[Angle], ArrProdDblN[Angle], ArrayDblBased, ArrProdHomo[Angle], ArrBase[Angle], ArrayLike[Angle], ArrayLikeBase[ostrat.geom.Angle @scala.annotation.unchecked.uncheckedVariance], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Angles
  2. ArrProdDbl1
  3. ArrProdDblN
  4. ArrayDblBased
  5. ArrProdHomo
  6. ArrBase
  7. ArrayLike
  8. ArrayLikeBase
  9. AnyVal
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Angles(arrayUnsafe: Array[Double])

Type Members

  1. type ThisT = Angles
    Definition Classes
    AnglesArrProdDblNArrProdHomoArrBaseArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++[N <: ArrProdHomo[Angle]](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
    ArrProdHomo
  4. def :+[N <: ArrProdHomo[Angle]](operand: Angle)(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
    ArrProdHomo
  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
    ArrProdDblN
  7. final def apply(index: Int): Angle
    Definition Classes
    ArrProdDbl1ArrayLike
  8. def arrLen: Int
    Definition Classes
    ArrProdDblNArrProdHomo
  9. val arrayUnsafe: Array[Double]
    Definition Classes
    AnglesArrayDblBased
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def collect[B, BB <: ArrBase[B]](pf: PartialFunction[Angle, B])(implicit ev: ArrBuild[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
  12. def collectList[B](pf: PartialFunction[Angle, 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
  13. def contains[A1 >: Angle](elem: A1): Boolean
    Definition Classes
    ArrayLike
  14. def eMap[B, BB <: ArrBase[B]](f: (Angle) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  15. def eMapList[B](f: (Angle) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  16. 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
    ArrBase
  17. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  18. def existsCount(f: (Angle) => 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
  19. def fElemStr: (Angle) => String
    Definition Classes
    AnglesArrBase
  20. def fHeadElse[B](noHead: => B)(ifHead: (Angle) => B): B
    Definition Classes
    ArrayLike
  21. def fMax[B](f: (Angle) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  22. def fMin[B](f: (Angle) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  23. def filter[AA <: ArrBase[Angle]](f: (Angle) => Boolean)(implicit ev: ArrBuild[Angle, AA]): AA
    Definition Classes
    ArrayLike
  24. def filterNot[AA <: ArrBase[Angle]](f: (Angle) => Boolean)(implicit ev: ArrBuild[Angle, AA]): AA
    Definition Classes
    ArrayLike
  25. def filterToList(f: (Angle) => Boolean): List[Angle]
    Definition Classes
    ArrayLike
  26. def find(f: (Angle) => Boolean): Option[Angle]
    Definition Classes
    ArrBase
  27. def flatMap[BB <: ArrBase[_]](f: (Angle) => BB)(implicit ev: ArrFlatBuild[BB]): BB

    Specialised flatMap to an immutable Arr.

    Specialised flatMap to an immutable Arr.

    Definition Classes
    ArrayLike
  28. def foldHeadTail[B](initial: B)(fHead: (B, Angle) => B)(fTail: (B, Angle) => B): B
    Definition Classes
    ArrayLike
  29. def foldLeft[B](initial: B)(f: (B, Angle) => B): B
    Definition Classes
    ArrayLike
  30. def foldTailLeft[B](initial: B)(f: (B, Angle) => B): B
    Definition Classes
    ArrayLike
  31. def foldWithPrevious[B](initPrevious: Angle, initAcc: B)(f: (B, Angle, Angle) => B): B
    Definition Classes
    ArrProdHomo
  32. def forAll(p: (Angle) => Boolean): Boolean
    Definition Classes
    ArrayLike
  33. def foreach[U](f: (Angle) => 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
  34. def foreachArr(f: (Dbls) => Unit): Unit

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    AnglesArrProdDblN
  35. def foreachInit[U](f: (Angle) => U): Unit
    Definition Classes
    ArrayLike
  36. def foreachReverse[U](f: (Angle) => 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
  37. def foreachTail[U](f: (Angle) => U): Unit
    Definition Classes
    ArrayLike
  38. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  39. def head: Angle
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  40. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  41. def iFlatMap[BB <: ArrBase[_]](iInit: Int = 0)(f: (Angle, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  42. def iFlatMap[BB <: ArrBase[_]](f: (Angle, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  43. def iForAll(p: (Angle, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  44. def iForeach[U](f: (Angle, 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
  45. def iForeachReverse[U](f: (Angle, Int) => U): Unit
    Definition Classes
    ArrayLike
  46. def iMap[B, BB <: ArrBase[B]](f: (Angle, Int) => B)(implicit ev: ArrBuild[B, BB]): BB

    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
  47. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  48. def indexOf(elem: Angle): Int
    Definition Classes
    ArrayLike
  49. def indexWhere(f: (Angle) => 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
  50. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  51. def iterFlatMap[B, BB <: ArrBase[B]](f: (Angle) => Iterable[B])(implicit ev: ArrBuild[B, BB]): BB

    FlatMaps over a function from A to any Iterable.

    FlatMaps over a function from A to any Iterable.

    Definition Classes
    ArrayLike
  52. def last: Angle
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  53. 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
  54. final def length: 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
    ArrProdHomoArrayLikeBase
  55. def map[B, BB <: ArrBase[B]](f: (Angle) => B)(implicit ev: ArrBuild[B, BB]): BB

    Specialised map to an immutable ArrBase of B.

    Specialised map to an immutable ArrBase of B.

    Definition Classes
    ArrayLike
  56. def map2To1[B, BB <: ArrBase[B]](f: (Angle, Angle) => B)(implicit ev: ArrBuild[B, BB]): BB

    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
  57. def mapCollectGoods[B, BB <: ArrBase[B]](f: (Angle) => EMon[B])(implicit ev: ArrBuild[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
  58. def mapList[B <: AnyRef](f: (Angle) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  59. def mapWithAcc[B, BB <: ArrBase[B], C](initC: C)(f: (Angle, C) => (B, C))(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  60. def max[B >: Angle](implicit ord: Ordering[B]): Angle
    Definition Classes
    ArrayLike
  61. def min[B >: Angle](implicit ord: Ordering[B]): Angle
    Definition Classes
    ArrayLike
  62. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  63. def modifyWhere(pred: (Angle) => Boolean, fNewValue: (Angle) => Angle): 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
    ArrBase
  64. def newElem(dblValue: Double): Angle
    Definition Classes
    AnglesArrProdDbl1
  65. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  66. def pMap[B, N <: ArrProdHomo[B]](f: (Angle) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ArrProdHomo
  67. final def productSize: Int
    Definition Classes
    ArrProdDbl1ArrProdHomo
  68. def removeFirst(f: (Angle) => Boolean): ThisT
    Definition Classes
    ArrBase
  69. def replace(oldValue: Angle, newValue: Angle): 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
    ArrBase
  70. def replaceWhere(pred: (Angle) => Boolean, newValue: Angle): 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
    ArrBase
  71. def returnThis: ThisT
    Definition Classes
    ArrayLike
  72. def sumBy(f: (Angle) => Int): Int
    Definition Classes
    ArrayLike
  73. def toList: List[Angle]
    Definition Classes
    ArrayLike
  74. final def toString(): String
    Definition Classes
    ArrBase → Any
  75. def toStrsCommaFold(fToStr: (Angle) => String): String
    Definition Classes
    ArrayLike
  76. def toStrsCommaNoSpaceFold(fToStr: (Angle) => String): String
    Definition Classes
    ArrayLike
  77. def toStrsCommaParenth(fToStr: (Angle) => String): String
    Definition Classes
    ArrayLike
  78. def toStrsFold(seperator: String, f: (Angle) => String): String
    Definition Classes
    ArrayLike
  79. def toStrsSemiFold(fToStr: (Angle) => String): String
    Definition Classes
    ArrayLike
  80. def toStrsSemiParenth(fToStr: (Angle) => String): String
    Definition Classes
    ArrayLike
  81. def typeStr: String
    Definition Classes
    AnglesArrBase
  82. def unsafeArrayCopy(operand: Array[Angle], offset: Int, copyLength: Int): Unit
    Definition Classes
    ArrBase
  83. def unsafeCopyFromArray(opArray: Array[Double], offset: Int = 0): Unit
    Definition Classes
    ArrProdDblN
  84. def unsafeFromArray(array: Array[Double]): Angles
    Definition Classes
    AnglesArrProdDblN
  85. final def unsafeNew(length: Int): ThisT
    Definition Classes
    ArrProdDblNArrBase
  86. final def unsafeSetElem(index: Int, elem: Angle): Unit
    Definition Classes
    ArrProdDbl1ArrBase
  87. def unsafeSetElemSeq(index: Int, elems: Iterable[Angle]): Unit
    Definition Classes
    ArrBase
  88. def unsafeSetElems(index: Int, elems: Angle*): Unit
    Definition Classes
    ArrBase
  89. def unsafeSetHead(value: Angle): Unit
    Definition Classes
    ArrBase
  90. def unsafeSetLast(value: Angle): Unit
    Definition Classes
    ArrBase

Inherited from ArrProdDbl1[Angle]

Inherited from ArrProdDblN[Angle]

Inherited from ArrayDblBased

Inherited from ArrProdHomo[Angle]

Inherited from ArrBase[Angle]

Inherited from ArrayLike[Angle]

Inherited from ArrayLikeBase[ostrat.geom.Angle @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyVal

Inherited from Any

Ungrouped