com.stratio.common.utils.functional

StatefulIterator

trait StatefulIterator[T, S] extends Iterator[Option[T]]

An StatefulIterator is just an Iterator that needs to track some kind of state for determining if it has next values or not.

Linear Supertypes
Iterator[Option[T]], TraversableOnce[Option[T]], GenTraversableOnce[Option[T]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. StatefulIterator
  2. Iterator
  3. TraversableOnce
  4. GenTraversableOnce
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]

    Definition Classes
    Iterator

Abstract Value Members

  1. abstract def hasNext: Boolean

    Definition Classes
    Iterator
  2. abstract def next(): Option[T]

    Definition Classes
    Iterator
  3. abstract def state: S

    Internal iterator state.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++[B >: Option[T]](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  5. def /:[B](z: B)(op: (B, Option[T]) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. def :\[B](z: B)(op: (Option[T], B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  10. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  11. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  12. def aggregate[B](z: B)(seqop: (B, Option[T]) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def buffered: BufferedIterator[Option[T]]

    Definition Classes
    Iterator
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def collect[B](pf: PartialFunction[Option[T], B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  17. def collectFirst[B](pf: PartialFunction[Option[T], B]): Option[B]

    Definition Classes
    TraversableOnce
  18. def contains(elem: Any): Boolean

    Definition Classes
    Iterator
  19. def copyToArray[B >: Option[T]](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  20. def copyToArray[B >: Option[T]](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: Option[T]](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToBuffer[B >: Option[T]](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  23. def corresponds[B](that: GenTraversableOnce[B])(p: (Option[T], B) ⇒ Boolean): Boolean

    Definition Classes
    Iterator
  24. def count(p: (Option[T]) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def drop(n: Int): Iterator[Option[T]]

    Definition Classes
    Iterator
  26. def dropWhile(p: (Option[T]) ⇒ Boolean): Iterator[Option[T]]

    Definition Classes
    Iterator
  27. def duplicate: (Iterator[Option[T]], Iterator[Option[T]])

    Definition Classes
    Iterator
  28. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  29. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  30. def exists(p: (Option[T]) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  31. def filter(p: (Option[T]) ⇒ Boolean): Iterator[Option[T]]

    Definition Classes
    Iterator
  32. def filterNot(p: (Option[T]) ⇒ Boolean): Iterator[Option[T]]

    Definition Classes
    Iterator
  33. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def find(p: (Option[T]) ⇒ Boolean): Option[Option[T]]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  35. def flatMap[B](f: (Option[T]) ⇒ GenTraversableOnce[B]): Iterator[B]

    Definition Classes
    Iterator
  36. def fold[A1 >: Option[T]](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def foldLeft[B](z: B)(op: (B, Option[T]) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def foldRight[B](z: B)(op: (Option[T], B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def forall(p: (Option[T]) ⇒ Boolean): Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  40. def foreach[U](f: (Option[T]) ⇒ U): Unit

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  41. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  42. def grouped[B >: Option[T]](size: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  43. def hasDefiniteSize: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  44. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  45. def indexOf[B >: Option[T]](elem: B): Int

    Definition Classes
    Iterator
  46. def indexWhere(p: (Option[T]) ⇒ Boolean): Int

    Definition Classes
    Iterator
  47. def isEmpty: Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  48. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  49. def isTraversableAgain: Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  50. def length: Int

    Definition Classes
    Iterator
  51. def map[B](f: (Option[T]) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  52. def max[B >: Option[T]](implicit cmp: Ordering[B]): Option[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  53. def maxBy[B](f: (Option[T]) ⇒ B)(implicit cmp: Ordering[B]): Option[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  54. def min[B >: Option[T]](implicit cmp: Ordering[B]): Option[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  55. def minBy[B](f: (Option[T]) ⇒ B)(implicit cmp: Ordering[B]): Option[T]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  60. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. final def notify(): Unit

    Definition Classes
    AnyRef
  62. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  63. def padTo[A1 >: Option[T]](len: Int, elem: A1): Iterator[A1]

    Definition Classes
    Iterator
  64. def partition(p: (Option[T]) ⇒ Boolean): (Iterator[Option[T]], Iterator[Option[T]])

    Definition Classes
    Iterator
  65. def patch[B >: Option[T]](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Definition Classes
    Iterator
  66. def product[B >: Option[T]](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def reduce[A1 >: Option[T]](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  68. def reduceLeft[B >: Option[T]](op: (B, Option[T]) ⇒ B): B

    Definition Classes
    TraversableOnce
  69. def reduceLeftOption[B >: Option[T]](op: (B, Option[T]) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. def reduceOption[A1 >: Option[T]](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. def reduceRight[B >: Option[T]](op: (Option[T], B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def reduceRightOption[B >: Option[T]](op: (Option[T], B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def reversed: List[Option[T]]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  74. def sameElements(that: Iterator[_]): Boolean

    Definition Classes
    Iterator
  75. def scanLeft[B](z: B)(op: (B, Option[T]) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  76. def scanRight[B](z: B)(op: (Option[T], B) ⇒ B): Iterator[B]

    Definition Classes
    Iterator
  77. def seq: Iterator[Option[T]]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  78. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def slice(from: Int, until: Int): Iterator[Option[T]]

    Definition Classes
    Iterator
  80. def sliding[B >: Option[T]](size: Int, step: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  81. def span(p: (Option[T]) ⇒ Boolean): (Iterator[Option[T]], Iterator[Option[T]])

    Definition Classes
    Iterator
  82. def sum[B >: Option[T]](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  84. def take(n: Int): Iterator[Option[T]]

    Definition Classes
    Iterator
  85. def takeWhile(p: (Option[T]) ⇒ Boolean): Iterator[Option[T]]

    Definition Classes
    Iterator
  86. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Option[T], Col[Option[T]]]): Col[Option[T]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. def toArray[B >: Option[T]](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def toBuffer[B >: Option[T]]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def toIndexedSeq: IndexedSeq[Option[T]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def toIterable: Iterable[Option[T]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def toIterator: Iterator[Option[T]]

    Definition Classes
    Iterator → GenTraversableOnce
  92. def toList: List[Option[T]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def toMap[T, U](implicit ev: <:<[Option[T], (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def toSeq: Seq[Option[T]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def toSet[B >: Option[T]]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def toStream: Stream[Option[T]]

    Definition Classes
    Iterator → GenTraversableOnce
  97. def toString(): String

    Definition Classes
    Iterator → AnyRef → Any
  98. def toTraversable: Traversable[Option[T]]

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  99. def toVector: Vector[Option[T]]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. def withFilter(p: (Option[T]) ⇒ Boolean): Iterator[Option[T]]

    Definition Classes
    Iterator
  104. def zip[B](that: Iterator[B]): Iterator[(Option[T], B)]

    Definition Classes
    Iterator
  105. def zipAll[B, A1 >: Option[T], B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Definition Classes
    Iterator
  106. def zipWithIndex: Iterator[(Option[T], Int)]

    Definition Classes
    Iterator

Deprecated Value Members

  1. def /:\[A1 >: Option[T]](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

Inherited from Iterator[Option[T]]

Inherited from TraversableOnce[Option[T]]

Inherited from GenTraversableOnce[Option[T]]

Inherited from AnyRef

Inherited from Any

Ungrouped