Packages

c

cc.drx

DrxArray

final class DrxArray[A] extends AnyVal

Array are indexSeq but are special in scala for java opt and need re-implementation???

Source
collection.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DrxArray
  2. AnyVal
  3. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DrxArray(xs: Array[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def %(i: Int): A
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toany2stringadd[DrxArray[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def -->[B](range: Iterable[B]): Ordinal[A, B]

    create an Ordinal scale with mappings to range

  6. def -->[B](range: Bound[B]): OrdinalBoundedRange[A, B]

    create an Ordinal scale with equal bands steps in the range

  7. def ->[B](y: B): (DrxArray[A], B)
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toArrowAssoc[DrxArray[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  9. def applyIf(t: Boolean, f: (DrxArray[A]) => DrxArray[A]): DrxArray[A]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. def applyIf(t: (DrxArray[A]) => Boolean)(f: (DrxArray[A]) => DrxArray[A]): DrxArray[A]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def elementOf(xs: Set[DrxArray[A]]): Boolean
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  13. def ensuring(cond: (DrxArray[A]) => Boolean, msg: => Any): DrxArray[A]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toEnsuring[DrxArray[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (DrxArray[A]) => Boolean): DrxArray[A]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toEnsuring[DrxArray[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): DrxArray[A]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toEnsuring[DrxArray[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): DrxArray[A]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toEnsuring[DrxArray[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toStringFormat[DrxArray[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  19. def indicesWhere(p: (A) => Boolean): IndexedSeq[Int]
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def lerp(t: Double): A
  22. def lerpOption(t: Double): Option[A]
  23. def modOption(i: Int): Option[A]
  24. def noneIf(f: (DrxArray[A]) => Boolean): Option[DrxArray[A]]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  25. def optionIf(f: (DrxArray[A]) => Boolean): Option[DrxArray[A]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  26. def preApply[B](f: (DrxArray[A]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  27. def rand(implicit r: Rand): Iterator[A]
  28. def sample(meanReductionSize: Int, from: Int = 0, to: Int = xs.size)(implicit rand: Rand): drx.ArrayBuffer[A]
  29. def sampleWithIndex(meanReductionSize: Int, from: Int = 0, to: Int = xs.size)(implicit rand: Rand): drx.ArrayBuffer[(A, Int)]
  30. def searchBy[B](searchValue: B, from: Int = 0, to: Int = xs.size-1)(elem: (A) => B)(implicit ord: Ordering[B]): Int

    Binary tree search for a value with an mapping transformation, (Note: assumes sorted by B

  31. def sideEffect(f: (DrxArray[A]) => Unit): DrxArray[A]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  32. def sliceWith(bound: Bound[Int]): Array[A]
  33. def someIf(f: (DrxArray[A]) => Boolean): Option[DrxArray[A]]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  34. def someIndexWhere(p: (A) => Boolean): Option[Int]
  35. val thisAny: DrxArray[A]
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  36. def till(maxArg: DrxArray[A]): Bound[DrxArray[A]]

    Bound construction since the Range constructor is deprecated

    Bound construction since the Range constructor is deprecated

    Implicit
    This member is added by an implicit conversion from DrxArray[A] toBoundOps[DrxArray[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[DrxArray[A]] is in scope.
    Definition Classes
    BoundOps
  37. def toString(): String
    Definition Classes
    Any
  38. def toTuple2: drx.Try[(A, A)]
  39. val xs: Array[A]

Deprecated Value Members

  1. def ?>(f: (DrxArray[A]) => Boolean): Option[DrxArray[A]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to many symbols are hard to undertand

  2. def |>[B](f: (DrxArray[A]) => B): B
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toDrxAny[DrxArray[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) use preApply if you must (symbols are concise without concision)

  3. def [B](y: B): (DrxArray[A], B)
    Implicit
    This member is added by an implicit conversion from DrxArray[A] toArrowAssoc[DrxArray[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion richDrxAny fromDrxArray[A] to DrxAny[DrxArray[A]]

Inherited by implicit conversion DrxBoundOps fromDrxArray[A] to BoundOps[DrxArray[A]]

Inherited by implicit conversion any2stringadd fromDrxArray[A] to any2stringadd[DrxArray[A]]

Inherited by implicit conversion StringFormat fromDrxArray[A] to StringFormat[DrxArray[A]]

Inherited by implicit conversion Ensuring fromDrxArray[A] to Ensuring[DrxArray[A]]

Inherited by implicit conversion ArrowAssoc fromDrxArray[A] to ArrowAssoc[DrxArray[A]]

Ungrouped