Packages

c

ostrat.pExt

ArrayExtensions

final class ArrayExtensions[A] extends AnyVal

Extension methods for Array[A] class

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ArrayExtensions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ArrayExtensions(thisArray: Array[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. def headOnly[B](ifEmpty: => B, fNonEmpty: (A) => B): B

    This method and "fHead" removes the need for headOption in the majority of case.

    This method and "fHead" removes the need for headOption in the majority of case. Use fHead when are interested in the tail value

  7. def iForeach(f: (A, Int) => Unit, count: Int = 0): Unit

    foreach loop with counter

  8. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val thisArray: Array[A]
  11. def toStr: String
  12. def toString(): String
    Definition Classes
    Any
  13. def toStrsCommaFold(fToStr: (A) => String = _.toString): String
  14. def toStrsCommaParenth(fToStr: (A) => String = _.toString): String
  15. def toStrsFold(seperator: String = "", f: (A) => String = _.toString): String
  16. def toStrsSemiFold(fToStr: (A) => String = _.toString): String
  17. def toStrsSemiParenth(fToStr: (A) => String = _.toString): String
  18. def valueProducts[B <: ArrProdHomo[A]](implicit factory: (Int) => B): B

Inherited from AnyVal

Inherited from Any

Ungrouped