final class DrxIterable[A] extends AnyVal
- Alphabetic
- By Inheritance
- DrxIterable
- AnyVal
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DrxIterable(xs: Iterable[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toany2stringadd[DrxIterable[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- 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): (DrxIterable[A], B)
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toArrowAssoc[DrxIterable[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: (DrxIterable[A]) => DrxIterable[A]): DrxIterable[A]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (DrxIterable[A]) => Boolean)(f: (DrxIterable[A]) => DrxIterable[A]): DrxIterable[A]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def containsSubsequence(ys: Iterable[A]): Boolean
- def countBy[B](f: (A) => B): Map[B, Int]
- def elementOf(xs: Set[DrxIterable[A]]): Boolean
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (DrxIterable[A]) => Boolean, msg: => Any): DrxIterable[A]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toEnsuring[DrxIterable[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (DrxIterable[A]) => Boolean): DrxIterable[A]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toEnsuring[DrxIterable[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): DrxIterable[A]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toEnsuring[DrxIterable[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): DrxIterable[A]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toEnsuring[DrxIterable[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def evens: Iterable[A]
- def filterDuplicates: Iterator[A]
- def fitString(sizes: Int*): String
Like mkString but fits(pads) rows to a size
- def fitString: String
Like mkString but fits(pads) rows to a size
- def foreachBy(dt: Time)(f: (A) => Unit)(implicit sc: drx.ScheduledContext, ec: drx.ExecutionContext): drx.Future[Unit]
async apply a function to a collection with a spaced time delay
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toStringFormat[DrxIterable[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getNonEmpty: Option[Iterable[A]]
- def groupRuns: Vector[Vector[A]]
- def groupRunsBy[B](f: (A) => B): Vector[Vector[A]]
- def groupWhile(test: (A, A) => Boolean): Vector[Vector[A]]
- def integrate(f: (A) => Double)(implicit num: Numeric[A]): Double
trapezoidal integration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lcp(ys: Iterable[A]): Iterable[A]
- def mapFrom[B](f: (A) => B): Map[B, A]
- def mapIf[B](pf: PartialFunction[A, B]): Map[A, B]
- def mapLinear[B](parLevel: Int)(f: (A) => drx.Future[B])(implicit ec: drx.ExecutionContext): drx.Future[Seq[B]]
execute futures serially, alternatively provide grouped size
- def mapWith[B](f: (A) => B): Map[A, B]
- def mkCommas: String
- def mkLines: String
- def mkSpaces: String
- def noneIf(f: (DrxIterable[A]) => Boolean): Option[DrxIterable[A]]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def odds: Iterable[A]
- def optionIf(f: (DrxIterable[A]) => Boolean): Option[DrxIterable[A]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (DrxIterable[A]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def same: Boolean
- def sampleByRatio(reductionRatio: Double)(implicit rand: Rand): Iterable[A]
- def shuffle(implicit r: Rand): Iterable[A]
- def sideEffect(f: (DrxIterable[A]) => Unit): DrxIterable[A]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def skip(skipSize: Int, takeSize: Int = 1, offset: Int = 0): Iterable[A]
- def slidingFlatMap[B](init: Option[B])(f: (A, A) => Option[B]): Iterator[B]
- def someIf(f: (DrxIterable[A]) => Boolean): Option[DrxIterable[A]]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: DrxIterable[A]
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: DrxIterable[A]): Bound[DrxIterable[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 DrxIterable[A] toBoundOps[DrxIterable[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[DrxIterable[A]] is in scope.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- Any
- def toTuple2: drx.Try[(A, A)]
- def toTuple3: drx.Try[(A, A, A)]
- val xs: Iterable[A]
- def zipFrom[B](f: (A) => B): Iterable[(B, A)]
- def zipIf[B](pf: PartialFunction[A, B]): Iterable[(A, B)]
- def zipTo[B, C](ys: Iterable[B])(f: (A, B) => C): Iterable[C]
- def zipWith[B](f: (A) => B): Iterable[(A, B)]
Deprecated Value Members
- def ?>(f: (DrxIterable[A]) => Boolean): Option[DrxIterable[A]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[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: (DrxIterable[A]) => B): B
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toDrxAny[DrxIterable[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): (DrxIterable[A], B)
- Implicit
- This member is added by an implicit conversion from DrxIterable[A] toArrowAssoc[DrxIterable[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.