Packages

c

cc.drx

DrxIndexedSeq

final class DrxIndexedSeq[A] extends AnyVal

IndexedSeq are indexable

Source
collection.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DrxIndexedSeq
  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 DrxIndexedSeq(xs: IndexedSeq[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 DrxIndexedSeq[A] toany2stringadd[DrxIndexedSeq[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. 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()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. 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
  8. 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
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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()
  16. def get(i: Int): Option[A]
  17. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  18. def getOrElse(i: Int, default: => A): A
  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: (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
  25. 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
  26. 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
  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. 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

  31. 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
  32. def sliceWith(bound: Bound[Int]): IndexedSeq[A]
  33. 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
  34. def someIndexWhere(p: (A) => Boolean): Option[Int]
  35. 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
  36. 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
  37. def toString(): String
    Definition Classes
    Any
  38. val xs: IndexedSeq[A]

Deprecated Value Members

  1. 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

  2. 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)

  3. 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.

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion richDrxAny fromDrxIndexedSeq[A] to DrxAny[DrxIndexedSeq[A]]

Inherited by implicit conversion DrxBoundOps fromDrxIndexedSeq[A] to BoundOps[DrxIndexedSeq[A]]

Inherited by implicit conversion any2stringadd fromDrxIndexedSeq[A] to any2stringadd[DrxIndexedSeq[A]]

Inherited by implicit conversion StringFormat fromDrxIndexedSeq[A] to StringFormat[DrxIndexedSeq[A]]

Inherited by implicit conversion Ensuring fromDrxIndexedSeq[A] to Ensuring[DrxIndexedSeq[A]]

Inherited by implicit conversion ArrowAssoc fromDrxIndexedSeq[A] to ArrowAssoc[DrxIndexedSeq[A]]

Ungrouped