final class DrxIndexedSeq[A] extends AnyVal
- Alphabetic
- By Inheritance
- DrxIndexedSeq
- AnyVal
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DrxIndexedSeq(xs: IndexedSeq[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def %(i: Int): A
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toany2stringadd[DrxIndexedSeq[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (DrxIndexedSeq[A], B)
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toArrowAssoc[DrxIndexedSeq[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def applyIf(t: Boolean, f: (DrxIndexedSeq[A]) => DrxIndexedSeq[A]): DrxIndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (DrxIndexedSeq[A]) => Boolean)(f: (DrxIndexedSeq[A]) => DrxIndexedSeq[A]): DrxIndexedSeq[A]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[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[DrxIndexedSeq[A]]): Boolean
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (DrxIndexedSeq[A]) => Boolean, msg: => Any): DrxIndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toEnsuring[DrxIndexedSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (DrxIndexedSeq[A]) => Boolean): DrxIndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toEnsuring[DrxIndexedSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): DrxIndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toEnsuring[DrxIndexedSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): DrxIndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toEnsuring[DrxIndexedSeq[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toStringFormat[DrxIndexedSeq[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def get(i: Int): Option[A]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getOrElse(i: Int, default: => A): A
- 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: (DrxIndexedSeq[A]) => Boolean): Option[DrxIndexedSeq[A]]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (DrxIndexedSeq[A]) => Boolean): Option[DrxIndexedSeq[A]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (DrxIndexedSeq[A]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[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)]
- final 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: (DrxIndexedSeq[A]) => Unit): DrxIndexedSeq[A]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sliceWith(bound: Bound[Int]): IndexedSeq[A]
- def someIf(f: (DrxIndexedSeq[A]) => Boolean): Option[DrxIndexedSeq[A]]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIndexWhere(p: (A) => Boolean): Option[Int]
- val thisAny: DrxIndexedSeq[A]
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: DrxIndexedSeq[A]): Bound[DrxIndexedSeq[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 DrxIndexedSeq[A] toBoundOps[DrxIndexedSeq[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[DrxIndexedSeq[A]] is in scope.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- Any
- val xs: IndexedSeq[A]
Deprecated Value Members
- def ?>(f: (DrxIndexedSeq[A]) => Boolean): Option[DrxIndexedSeq[A]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[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: (DrxIndexedSeq[A]) => B): B
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toDrxAny[DrxIndexedSeq[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): (DrxIndexedSeq[A], B)
- Implicit
- This member is added by an implicit conversion from DrxIndexedSeq[A] toArrowAssoc[DrxIndexedSeq[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.