Packages

t

ostrat

ArrProdLongN

trait ArrProdLongN[A] extends ArrProdHomo[A]

An immutable collection of Elements that inherit from a Product of an Atomic value: Double, Long, Long or Float. They are stored with a backing Array[Long] They are named ProductLongs rather than ProductIs because that name can easlily be confused with ProductI1s.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrProdLongN
  2. ArrProdHomo
  3. ArrValues
  4. ArrImut
  5. ArrayLike
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type ThisT <: ArrValues[A]
    Definition Classes
    ArrValuesArrImutArrayLike

Abstract Value Members

  1. abstract def apply(index: Int): A
    Definition Classes
    ArrayLike
  2. abstract def array: Array[Long]
  3. abstract def buildThis(length: Int): ThisT
    Definition Classes
    ArrImut
  4. abstract def foreachArr(f: (Arr[Long]) => Unit): Unit
  5. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  6. abstract def productSize: Int
    Definition Classes
    ArrProdHomo
  7. abstract def toArrs: Arr[Arr[Long]]
  8. abstract def typeStr: String
    Definition Classes
    ArrProdHomo
  9. abstract def unsafeSetElem(i: Int, value: A): Unit
    Definition Classes
    ArrImut

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def ++[N <: ArrProdHomo[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
    ArrProdHomo
  4. def :+[N <: ArrProdHomo[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
    ArrProdHomo
  5. def :+(op: A): ThisT
    Definition Classes
    ArrValues
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. def arrLen: Int
    Definition Classes
    ArrProdLongNArrProdHomo
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def contains[A1 >: A](elem: A1): Boolean
    Definition Classes
    ArrayLike
  10. def eMap[B, BB <: ArrImut[B]](f: (A) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  11. def empty: Boolean
    Definition Classes
    ArrayLike
  12. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  13. 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
  14. def foldHeadTail[B](initial: B)(fHead: (B, A) => B)(fTail: (B, A) => B): B
    Definition Classes
    ArrayLike
  15. def foldLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  16. def foldTailLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  17. def foldWithPrevious[B](initPrevious: A, initAcc: B)(f: (B, A, A) => B): B
    Definition Classes
    ArrProdHomo
  18. def foreach[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  19. def foreachInit[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  20. 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
  21. def foreachTail[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  22. def hashCode(): Int
    Definition Classes
    Any
  23. def head: A
    Definition Classes
    ArrayLike
  24. 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
  25. def iForeachReverse[U](f: (A, Int) => U): Unit
    Definition Classes
    ArrayLike
  26. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  27. def indexOf(elem: A): Int
    Definition Classes
    ArrayLike
  28. def indexWhere(f: (A) => Boolean): Int

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

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

    Definition Classes
    ArrayLike
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def iterFlatMap[B, BB <: ArrImut[B]](f: (A) => 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
  31. def last: A
    Definition Classes
    ArrayLike
  32. def lenStr: String
    Definition Classes
    ArrayLike
  33. final def length: Int
    Definition Classes
    ArrProdHomoArrayLike
  34. def map[B, BB <: ArrImut[B]](f: (A) => B)(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  35. def map2To1[B, BB <: ArrImut[B]](f: (A, A) => 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
  36. def mapArrSeq[B <: AnyRef](f: (A) => B)(implicit ev: ClassTag[B]): Arr[B]

    Maps to ArrSeq of type B.

    Maps to ArrSeq of type B.

    Definition Classes
    ArrProdHomo
  37. def mapList[B <: AnyRef](f: (A) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  38. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  39. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
  40. def offsetter: ArrOff[A]
    Definition Classes
    ArrImut
  41. def pMap[B, N <: ArrProdHomo[B]](f: (A) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ArrProdHomo
  42. def removeFirst(f: (A) => Boolean): ThisT
    Definition Classes
    ArrImut
  43. 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
  44. def returnThis: ThisT
    Definition Classes
    ArrayLike
  45. def toList: List[A]
    Definition Classes
    ArrayLike
  46. def toString(): String
    Definition Classes
    ArrProdLongN → Any
  47. def toStrsFold(seperator: String = "", f: (A) => String = _.toString): String
    Definition Classes
    ArrayLike
  48. def unsafeArrayCopy(operand: Array[A], offset: Int, copyLength: Int): Unit
    Definition Classes
    ArrImut
  49. def unsafeSetElemSeq(index: Int, elems: Iterable[A]): Unit
    Definition Classes
    ArrImut
  50. def unsafeSetElems(index: Int, elems: A*): Unit
    Definition Classes
    ArrImut
  51. def unsafeSetHead(value: A): Unit
    Definition Classes
    ArrImut
  52. def unsafeSetLast(value: A): Unit
    Definition Classes
    ArrImut

Deprecated Value Members

  1. def toArraySeq(implicit ct: ClassTag[A]): ArraySeq[A]

    transitional method to be removed.

    transitional method to be removed.

    Definition Classes
    ArrayLike
    Annotations
    @deprecated
    Deprecated

Inherited from ArrProdHomo[A]

Inherited from ArrValues[A]

Inherited from ArrImut[A]

Inherited from ArrayLike[A]

Inherited from Any

Ungrouped