Packages

c

cc.drx

DrxIterator

final class DrxIterator[A] extends AnyVal

Source
collection.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DrxIterator
  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 DrxIterator(xs: Iterator[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 DrxIterator[A] toany2stringadd[DrxIterator[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DrxIterator[A], B)
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toArrowAssoc[DrxIterator[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def applyIf(t: Boolean, f: (DrxIterator[A]) => DrxIterator[A]): DrxIterator[A]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  7. def applyIf(t: (DrxIterator[A]) => Boolean)(f: (DrxIterator[A]) => DrxIterator[A]): DrxIterator[A]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def countBy[B](f: (A) => B): Map[B, Int]

    SI-7365 a more efficient binning without using groupBy (the collection is lost here unless identity is used)

  10. def countWhile(f: (A) => Boolean): Int
  11. def elementOf(xs: Set[DrxIterator[A]]): Boolean
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  12. def ensuring(cond: (DrxIterator[A]) => Boolean, msg: => Any): DrxIterator[A]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toEnsuring[DrxIterator[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (DrxIterator[A]) => Boolean): DrxIterator[A]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toEnsuring[DrxIterator[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): DrxIterator[A]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toEnsuring[DrxIterator[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): DrxIterator[A]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toEnsuring[DrxIterator[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def evens: Iterator[A]
  17. def fitString(sizes: Int*): String

    Like mkString but fits(pads) rows to a size

  18. def fitString: String

    Like mkString but fits(pads) rows to a size

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

  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toStringFormat[DrxIterator[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  22. def getNonEmpty: Option[Iterator[A]]

    this is useful for making sure things like maxBy won't fail

  23. def groupRuns: Vector[Vector[A]]

    group matches similar runs see also groupRunsBy to group without an intermediate map

  24. def groupRunsBy[B](f: (A) => B): Vector[Vector[A]]

    group runs that are equivalent after a transformation

  25. def groupWhile(f: (A, A) => Boolean): Vector[Vector[A]]

    most generic base function to create group by like run length encodings, see also the simpler groupRuns and groupRunsBy

  26. def integrate(f: (A) => Double)(implicit num: Numeric[A]): Double

    trapezoidal integration

  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. def mapFrom[B](f: (A) => B): Map[B, A]

    like group by but clobbers unique id's

  29. def mapIf[B](pf: PartialFunction[A, B]): Map[A, B]

    collect like operations

  30. def mapLinear[B](f: (A) => drx.Future[B])(implicit ec: drx.ExecutionContext): drx.Future[List[B]]
  31. def mapWith[B](f: (A) => B): Map[A, B]

    like zipWith but clobers uniq elements

  32. def mkCommas: String
  33. def mkLines: String
  34. def mkSpaces: String
  35. def noneIf(f: (DrxIterator[A]) => Boolean): Option[DrxIterator[A]]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  36. def odds: Iterator[A]
  37. def optionIf(f: (DrxIterator[A]) => Boolean): Option[DrxIterator[A]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  38. def preApply[B](f: (DrxIterator[A]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  39. def ratioWhere(p: (A) => Boolean): Ratio
  40. def sampleByRatio(reductionRatio: Double)(implicit rand: Rand): Iterator[A]
  41. def sideEffect(f: (DrxIterator[A]) => Unit): DrxIterator[A]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  42. def skip(skipSize: Int, takeSize: Int = 1, offset: Int = 0): Iterator[A]
  43. def someIf(f: (DrxIterator[A]) => Boolean): Option[DrxIterator[A]]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  44. def statBy(f: (A) => Vec): StatVec
  45. def statBy(f: (A) => Double): Stat
  46. val thisAny: DrxIterator[A]
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  47. def till(maxArg: DrxIterator[A]): Bound[DrxIterator[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 DrxIterator[A] toBoundOps[DrxIterator[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[DrxIterator[A]] is in scope.
    Definition Classes
    BoundOps
  48. def toString(): String
    Definition Classes
    Any
  49. val xs: Iterator[A]
  50. def zipFrom[B](f: (A) => B): Iterator[(B, A)]
  51. def zipIf[B](pf: PartialFunction[A, B]): Iterator[(A, B)]
  52. def zipTo[B, C](ys: Iterator[B])(f: (A, B) => C): Iterator[C]
  53. def zipWith[B](f: (A) => B): Iterator[(A, B)]

Deprecated Value Members

  1. def /@[B](f: Applicable[A, B]): Iterator[B]
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to much magic

  2. def /@[B](f: (A) => B): Iterator[B]
    Annotations
    @deprecated
    Deprecated

    (Since version v0.2.15) to much magic

  3. def ?>(f: (DrxIterator[A]) => Boolean): Option[DrxIterator[A]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[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

  4. def mapBy[B](f: (A) => B): Map[B, A]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.13) use mapFrom(f) since it is beter in line wiht the zipFrom command

  5. def mkMap[B](f: (A) => B): Map[A, B]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.1.8) use mapWith(f) or mapBy(f)

  6. def sample(reductionRatio: Double)(implicit rand: Rand): Iterator[A]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.13) use sampleByRatio instead for typesafety between Traverable and IndexedSeq samples

  7. def |>[B](f: (DrxIterator[A]) => B): B
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toDrxAny[DrxIterator[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)

  8. def [B](y: B): (DrxIterator[A], B)
    Implicit
    This member is added by an implicit conversion from DrxIterator[A] toArrowAssoc[DrxIterator[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 fromDrxIterator[A] to DrxAny[DrxIterator[A]]

Inherited by implicit conversion DrxBoundOps fromDrxIterator[A] to BoundOps[DrxIterator[A]]

Inherited by implicit conversion any2stringadd fromDrxIterator[A] to any2stringadd[DrxIterator[A]]

Inherited by implicit conversion StringFormat fromDrxIterator[A] to StringFormat[DrxIterator[A]]

Inherited by implicit conversion Ensuring fromDrxIterator[A] to Ensuring[DrxIterator[A]]

Inherited by implicit conversion ArrowAssoc fromDrxIterator[A] to ArrowAssoc[DrxIterator[A]]

Ungrouped