Packages

t

ostrat

ArrProdHomo

trait ArrProdHomo[A] extends ArrValues[A]

An immutable Arr of homogeneous value products. Currently there is no compelling use case for heterogeneous value products, but the homogeneous name is being used to avoid having to change the name if and when homogeneous value product Arrs are implemented.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrProdHomo
  2. ArrValues
  3. ArrImut
  4. ArrayLike
  5. 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 arrLen: Int
  3. abstract def buildThis(length: Int): ThisT
    Definition Classes
    ArrImut
  4. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  5. abstract def productSize: Int
  6. abstract def typeStr: String
  7. 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.

  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.

  5. def :+(op: A): ThisT
    Definition Classes
    ArrValues
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def contains[A1 >: A](elem: A1): Boolean
    Definition Classes
    ArrayLike
  9. def eMap[B, BB <: ArrImut[B]](f: (A) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  10. def empty: Boolean
    Definition Classes
    ArrayLike
  11. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  12. 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
  13. def foldHeadTail[B](initial: B)(fHead: (B, A) => B)(fTail: (B, A) => B): B
    Definition Classes
    ArrayLike
  14. def foldLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  15. def foldTailLeft[B](initial: B)(f: (B, A) => B): B
    Definition Classes
    ArrayLike
  16. def foldWithPrevious[B](initPrevious: A, initAcc: B)(f: (B, A, A) => B): B
  17. def foreach[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  18. def foreachInit[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  19. 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
  20. def foreachTail[U](f: (A) => U): Unit
    Definition Classes
    ArrayLike
  21. def hashCode(): Int
    Definition Classes
    Any
  22. def head: A
    Definition Classes
    ArrayLike
  23. 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
  24. def iForeachReverse[U](f: (A, Int) => U): Unit
    Definition Classes
    ArrayLike
  25. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  26. def indexOf(elem: A): Int
    Definition Classes
    ArrayLike
  27. 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
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. 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
  30. def last: A
    Definition Classes
    ArrayLike
  31. def lenStr: String
    Definition Classes
    ArrayLike
  32. final def length: Int
    Definition Classes
    ArrProdHomoArrayLike
  33. def map[B, BB <: ArrImut[B]](f: (A) => B)(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  34. 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
  35. def mapArrSeq[B <: AnyRef](f: (A) => B)(implicit ev: ClassTag[B]): Arr[B]

    Maps to ArrSeq of type B.

  36. def mapList[B <: AnyRef](f: (A) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

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

    Not sure about this method.

    Not sure about this method.

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

Inherited from ArrImut[A]

Inherited from ArrayLike[A]

Inherited from Any

Ungrouped