Packages

final class Floats extends AnyVal with ArrBase[Float]

Linear Supertypes
ArrBase[Float], ArrayLike[Float], ArrayLikeBase[Float @scala.annotation.unchecked.uncheckedVariance], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Floats
  2. ArrBase
  3. ArrayLike
  4. ArrayLikeBase
  5. AnyVal
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Floats(array: Array[Float])

Type Members

  1. type ThisT = Floats
    Definition Classes
    FloatsArrBaseArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++(op: Floats): Floats
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  5. def apply(index: Int): Float
    Definition Classes
    FloatsArrayLike
  6. val array: Array[Float]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def collect[B, BB <: ArrBase[B]](pf: PartialFunction[Float, 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
  9. def collectList[B](pf: PartialFunction[Float, 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
  10. def contains[A1 >: Float](elem: A1): Boolean
    Definition Classes
    ArrayLike
  11. def eMap[B, BB <: ArrBase[B]](f: (Float) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  12. def eMapList[B](f: (Float) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  13. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  14. def existsCount(f: (Float) => 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
  15. def fHeadElse[B](noHead: => B)(ifHead: (Float) => B): B
    Definition Classes
    ArrayLike
  16. def fMax[B](f: (Float) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  17. def fMin[B](f: (Float) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  18. def filter[AA <: ArrBase[Float]](f: (Float) => Boolean)(implicit ev: ArrBuild[Float, AA]): AA
    Definition Classes
    ArrayLike
  19. def filterNot[AA <: ArrBase[Float]](f: (Float) => Boolean)(implicit ev: ArrBuild[Float, AA]): AA
    Definition Classes
    ArrayLike
  20. def filterToList(f: (Float) => Boolean): List[Float]
    Definition Classes
    ArrayLike
  21. def find(f: (Float) => Boolean): Option[Float]
    Definition Classes
    ArrBase
  22. def flatMap[BB <: ArrBase[_]](f: (Float) => BB)(implicit ev: ArrFlatBuild[BB]): BB

    Specialised flatMap to an immutable Arr.

    Specialised flatMap to an immutable Arr.

    Definition Classes
    ArrayLike
  23. def foldHeadTail[B](initial: B)(fHead: (B, Float) => B)(fTail: (B, Float) => B): B
    Definition Classes
    ArrayLike
  24. def foldLeft[B](initial: B)(f: (B, Float) => B): B
    Definition Classes
    ArrayLike
  25. def foldTailLeft[B](initial: B)(f: (B, Float) => B): B
    Definition Classes
    ArrayLike
  26. def forAll(p: (Float) => Boolean): Boolean
    Definition Classes
    ArrayLike
  27. def foreach[U](f: (Float) => 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
  28. def foreachInit[U](f: (Float) => U): Unit
    Definition Classes
    ArrayLike
  29. def foreachReverse[U](f: (Float) => 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
  30. def foreachTail[U](f: (Float) => U): Unit
    Definition Classes
    ArrayLike
  31. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  32. def head: Float
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  33. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  34. def iFlatMap[BB <: ArrBase[_]](iInit: Int = 0)(f: (Float, 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
  35. def iFlatMap[BB <: ArrBase[_]](f: (Float, 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
  36. def iForAll(p: (Float, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  37. def iForeach[U](f: (Float, 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
  38. def iForeachReverse[U](f: (Float, Int) => U): Unit
    Definition Classes
    ArrayLike
  39. def iMap[B, BB <: ArrBase[B]](f: (Float, 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
  40. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  41. def indexOf(elem: Float): Int
    Definition Classes
    ArrayLike
  42. def indexWhere(f: (Float) => 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
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. def iterFlatMap[B, BB <: ArrBase[B]](f: (Float) => 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
  45. def last: Float
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  46. 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
  47. 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
    FloatsArrayLikeBase
  48. def map[B, BB <: ArrBase[B]](f: (Float) => 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
  49. def map2To1[B, BB <: ArrBase[B]](f: (Float, Float) => 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
  50. def mapCollectGoods[B, BB <: ArrBase[B]](f: (Float) => 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
  51. def mapList[B <: AnyRef](f: (Float) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  52. def mapWithAcc[B, BB <: ArrBase[B], C](initC: C)(f: (Float, C) => (B, C))(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  53. def max[B >: Float](implicit ord: Ordering[B]): Float
    Definition Classes
    ArrayLike
  54. def min[B >: Float](implicit ord: Ordering[B]): Float
    Definition Classes
    ArrayLike
  55. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  56. def modifyWhere(pred: (Float) => Boolean, fNewValue: (Float) => Float): 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
  57. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  58. def removeFirst(f: (Float) => Boolean): ThisT
    Definition Classes
    ArrBase
  59. def replace(oldValue: Float, newValue: Float): 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
  60. def replaceWhere(pred: (Float) => Boolean, newValue: Float): 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
  61. def returnThis: ThisT
    Definition Classes
    ArrayLike
  62. def sumBy(f: (Float) => Int): Int
    Definition Classes
    ArrayLike
  63. def toList: List[Float]
    Definition Classes
    ArrayLike
  64. def toString(): String
    Definition Classes
    Any
  65. def toStrsCommaFold(fToStr: (Float) => String): String
    Definition Classes
    ArrayLike
  66. def toStrsCommaNoSpaceFold(fToStr: (Float) => String): String
    Definition Classes
    ArrayLike
  67. def toStrsCommaParenth(fToStr: (Float) => String): String
    Definition Classes
    ArrayLike
  68. def toStrsFold(seperator: String, f: (Float) => String): String
    Definition Classes
    ArrayLike
  69. def toStrsSemiFold(fToStr: (Float) => String): String
    Definition Classes
    ArrayLike
  70. def toStrsSemiParenth(fToStr: (Float) => String): String
    Definition Classes
    ArrayLike
  71. def unsafeArrayCopy(operand: Array[Float], offset: Int, copyLength: Int): Unit
    Definition Classes
    FloatsArrBase
  72. def unsafeNew(length: Int): Floats
    Definition Classes
    FloatsArrBase
  73. def unsafeSetElem(i: Int, value: Float): Unit
    Definition Classes
    FloatsArrBase
  74. def unsafeSetElemSeq(index: Int, elems: Iterable[Float]): Unit
    Definition Classes
    ArrBase
  75. def unsafeSetElems(index: Int, elems: Float*): Unit
    Definition Classes
    ArrBase
  76. def unsafeSetHead(value: Float): Unit
    Definition Classes
    ArrBase
  77. def unsafeSetLast(value: Float): Unit
    Definition Classes
    ArrBase

Inherited from ArrBase[Float]

Inherited from ArrayLike[Float]

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

Inherited from AnyVal

Inherited from Any

Ungrouped