Packages

final class DrxIterable[A] extends AnyVal

iterables have zip, slidding

Source
collection.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DrxIterable
  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 DrxIterable(xs: Iterable[A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. 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
  4. def -->[B](range: Iterable[B]): Ordinal[A, B]

    create an Ordinal scale with mappings to range

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

    create an Ordinal scale with equal bands steps in the range

  6. 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()
  7. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  8. 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
  9. 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
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def containsSubsequence(ys: Iterable[A]): Boolean
  12. def countBy[B](f: (A) => B): Map[B, Int]
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. def evens: Iterable[A]
  19. def filterDuplicates: Iterator[A]
  20. def fitString(sizes: Int*): String

    Like mkString but fits(pads) rows to a size

  21. def fitString: String

    Like mkString but fits(pads) rows to a size

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

  23. 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()
  24. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  25. def getNonEmpty: Option[Iterable[A]]
  26. def groupRuns: Vector[Vector[A]]
  27. def groupRunsBy[B](f: (A) => B): Vector[Vector[A]]
  28. def groupWhile(test: (A, A) => Boolean): Vector[Vector[A]]
  29. def integrate(f: (A) => Double)(implicit num: Numeric[A]): Double

    trapezoidal integration

  30. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  31. def lcp(ys: Iterable[A]): Iterable[A]
  32. def mapFrom[B](f: (A) => B): Map[B, A]
  33. def mapIf[B](pf: PartialFunction[A, B]): Map[A, B]
  34. 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

  35. def mapWith[B](f: (A) => B): Map[A, B]
  36. def mkCommas: String
  37. def mkLines: String
  38. def mkSpaces: String
  39. 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
  40. def odds: Iterable[A]
  41. 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
  42. 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
  43. def same: Boolean
  44. def sampleByRatio(reductionRatio: Double)(implicit rand: Rand): Iterable[A]
  45. def shuffle(implicit r: Rand): Iterable[A]
  46. 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
  47. def skip(skipSize: Int, takeSize: Int = 1, offset: Int = 0): Iterable[A]
  48. def slidingFlatMap[B](init: Option[B])(f: (A, A) => Option[B]): Iterator[B]
  49. 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
  50. 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
  51. 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
  52. def toString(): String
    Definition Classes
    Any
  53. def toTuple2: drx.Try[(A, A)]
  54. def toTuple3: drx.Try[(A, A, A)]
  55. val xs: Iterable[A]
  56. def zipFrom[B](f: (A) => B): Iterable[(B, A)]
  57. def zipIf[B](pf: PartialFunction[A, B]): Iterable[(A, B)]
  58. def zipTo[B, C](ys: Iterable[B])(f: (A, B) => C): Iterable[C]
  59. def zipWith[B](f: (A) => B): Iterable[(A, B)]

Deprecated Value Members

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

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

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

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion richDrxAny fromDrxIterable[A] to DrxAny[DrxIterable[A]]

Inherited by implicit conversion DrxBoundOps fromDrxIterable[A] to BoundOps[DrxIterable[A]]

Inherited by implicit conversion any2stringadd fromDrxIterable[A] to any2stringadd[DrxIterable[A]]

Inherited by implicit conversion StringFormat fromDrxIterable[A] to StringFormat[DrxIterable[A]]

Inherited by implicit conversion Ensuring fromDrxIterable[A] to Ensuring[DrxIterable[A]]

Inherited by implicit conversion ArrowAssoc fromDrxIterable[A] to ArrowAssoc[DrxIterable[A]]

Ungrouped