Packages

final class Colours extends AnyVal with ArrProdInt1[Colour]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Colours
  2. ArrProdInt1
  3. ArrProdIntN
  4. ArrProdHomo
  5. ArrValues
  6. ArrImut
  7. ArrayLike
  8. AnyVal
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Colours(array: Array[Int])

Type Members

  1. type ThisT = Colours
    Definition Classes
    ColoursArrProdIntNArrValuesArrImutArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def ++[N <: ArrProdHomo[Colour]](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[Colour]](operand: Colour)(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: Colour): ThisT
    Definition Classes
    ArrValues
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. final def apply(index: Int): Colour
    Definition Classes
    ArrProdInt1ArrayLike
  8. def arrLen: Int
    Definition Classes
    ArrProdIntNArrProdHomo
  9. val array: Array[Int]
    Definition Classes
    ColoursArrProdIntN
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. final def buildThis(length: Int): ThisT
    Definition Classes
    ArrProdIntNArrImut
  12. def contains[A1 >: Colour](elem: A1): Boolean
    Definition Classes
    ArrayLike
  13. def eMap[B, BB <: ArrImut[B]](f: (Colour) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  14. def empty: Boolean
    Definition Classes
    ArrayLike
  15. def existsCount(f: (Colour) => 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
  16. def findIndex(value: Colour): OptInt

    This method could be made more general.

    This method could be made more general.

    Definition Classes
    ArrProdInt1
  17. def foldHeadTail[B](initial: B)(fHead: (B, Colour) => B)(fTail: (B, Colour) => B): B
    Definition Classes
    ArrayLike
  18. def foldLeft[B](initial: B)(f: (B, Colour) => B): B
    Definition Classes
    ArrayLike
  19. def foldTailLeft[B](initial: B)(f: (B, Colour) => B): B
    Definition Classes
    ArrayLike
  20. def foldWithPrevious[B](initPrevious: Colour, initAcc: B)(f: (B, Colour, Colour) => B): B
    Definition Classes
    ArrProdHomo
  21. def foreach[U](f: (Colour) => U): Unit
    Definition Classes
    ArrayLike
  22. def foreachArr(f: (Arr[Int]) => Unit): Unit
    Definition Classes
    ArrProdInt1ArrProdIntN
  23. def foreachInit[U](f: (Colour) => U): Unit
    Definition Classes
    ArrayLike
  24. def foreachReverse[U](f: (Colour) => 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
  25. def foreachTail[U](f: (Colour) => U): Unit
    Definition Classes
    ArrayLike
  26. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  27. def head: Colour
    Definition Classes
    ArrayLike
  28. def iForeach[U](f: (Colour, 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
  29. def iForeachReverse[U](f: (Colour, Int) => U): Unit
    Definition Classes
    ArrayLike
  30. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  31. def indexOf(elem: Colour): Int
    Definition Classes
    ArrayLike
  32. def indexWhere(f: (Colour) => 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
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def iterFlatMap[B, BB <: ArrImut[B]](f: (Colour) => 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
  35. def last: Colour
    Definition Classes
    ArrayLike
  36. def lenStr: String
    Definition Classes
    ArrayLike
  37. final def length: Int
    Definition Classes
    ArrProdHomoArrayLike
  38. def map[B, BB <: ArrImut[B]](f: (Colour) => B)(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  39. def map2To1[B, BB <: ArrImut[B]](f: (Colour, Colour) => 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
  40. def mapArrSeq[B <: AnyRef](f: (Colour) => B)(implicit ev: ClassTag[B]): Arr[B]

    Maps to ArrSeq of type B.

    Maps to ArrSeq of type B.

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

    maps ValueProduct collection to List

    maps ValueProduct collection to List

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

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  43. final def newElem(intValue: Int): Colour
    Definition Classes
    ColoursArrProdInt1
  44. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
  45. def offsetter: ArrOff[Colour]
    Definition Classes
    ArrImut
  46. def pMap[B, N <: ArrProdHomo[B]](f: (Colour) => B)(implicit factory: (Int) => N): N
    Definition Classes
    ArrProdHomo
  47. final def productSize: Int
    Definition Classes
    ArrProdInt1ArrProdHomo
  48. def removeFirst(f: (Colour) => Boolean): ThisT
    Definition Classes
    ArrImut
  49. def replace(oldValue: Colour, newValue: Colour): 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
  50. def returnThis: ThisT
    Definition Classes
    ArrayLike
  51. def toArrs: Arr[Arr[Int]]
    Definition Classes
    ArrProdInt1ArrProdIntN
  52. def toList: List[Colour]
    Definition Classes
    ArrayLike
  53. def toString(): String
    Definition Classes
    ArrProdIntN → Any
  54. def toStrsFold(seperator: String = "", f: (Colour) => String = _.toString): String
    Definition Classes
    ArrayLike
  55. def typeStr: String
    Definition Classes
    ColoursArrProdHomo
  56. def unsafeArrayCopy(operand: Array[Colour], offset: Int, copyLength: Int): Unit
    Definition Classes
    ArrImut
  57. def unsafeFromArray(array: Array[Int]): Colours
    Definition Classes
    ColoursArrProdIntN
  58. final def unsafeSetElem(index: Int, elem: Colour): Unit
    Definition Classes
    ArrProdInt1ArrImut
  59. def unsafeSetElemSeq(index: Int, elems: Iterable[Colour]): Unit
    Definition Classes
    ArrImut
  60. def unsafeSetElems(index: Int, elems: Colour*): Unit
    Definition Classes
    ArrImut
  61. def unsafeSetHead(value: Colour): Unit
    Definition Classes
    ArrImut
  62. def unsafeSetLast(value: Colour): Unit
    Definition Classes
    ArrImut

Deprecated Value Members

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

    transitional method to be removed.

    transitional method to be removed.

    Definition Classes
    ArrayLike
    Annotations
    @deprecated
    Deprecated

Inherited from ArrProdInt1[Colour]

Inherited from ArrProdIntN[Colour]

Inherited from ArrProdHomo[Colour]

Inherited from ArrValues[Colour]

Inherited from ArrImut[Colour]

Inherited from ArrayLike[Colour]

Inherited from AnyVal

Inherited from Any

Ungrouped