final class DrxArray[A] extends AnyVal
Array are indexSeq but are special in scala for java opt and need re-implementation???
- Source
- collection.scala
- Alphabetic
- By Inheritance
- DrxArray
- AnyVal
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def %(i: Int): A
- def +(other: String): String
- def -->[B](range: Iterable[B]): Ordinal[A, B]
create an Ordinal scale with mappings to range
- def -->[B](range: Bound[B]): OrdinalBoundedRange[A, B]
create an Ordinal scale with equal bands steps in the range
- def ->[B](y: B): (DrxArray[A], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- 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
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
- def ensuring(cond: (DrxArray[A]) => Boolean, msg: => Any): DrxArray[A]
- def ensuring(cond: (DrxArray[A]) => Boolean): DrxArray[A]
- def ensuring(cond: Boolean, msg: => Any): DrxArray[A]
- def ensuring(cond: Boolean): DrxArray[A]
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def indicesWhere(p: (A) => Boolean): IndexedSeq[Int]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lerp(t: Double): A
- def lerpOption(t: Double): Option[A]
- def modOption(i: Int): Option[A]
- 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
- 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
- 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
- def rand(implicit r: Rand): Iterator[A]
- def sample(meanReductionSize: Int, from: Int = 0, to: Int = xs.size)(implicit rand: Rand): drx.ArrayBuffer[A]
- def sampleWithIndex(meanReductionSize: Int, from: Int = 0, to: Int = xs.size)(implicit rand: Rand): drx.ArrayBuffer[(A, Int)]
- 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
- 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
- def sliceWith(bound: Bound[Int]): Array[A]
- 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
- def someIndexWhere(p: (A) => Boolean): Option[Int]
- 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
- def till(maxArg: DrxArray[A]): Bound[DrxArray[A]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toString(): String
- Definition Classes
- Any
- def toTuple2: drx.Try[(A, A)]
- val xs: Array[A]
Deprecated Value Members
- 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
- 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)
- 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.