Class

org.hammerlab.iterator

MapWithStateIterator

Related Doc: package iterator

Permalink

abstract class MapWithStateIterator[T, U] extends SimpleBufferedIterator[U]

Linear Supertypes
SimpleBufferedIterator[U], BufferedIterator[U], Iterator[U], TraversableOnce[U], GenTraversableOnce[U], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapWithStateIterator
  2. SimpleBufferedIterator
  3. BufferedIterator
  4. Iterator
  5. TraversableOnce
  6. GenTraversableOnce
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapWithStateIterator(it: Iterator[T])

    Permalink

Type Members

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

    Permalink
    Definition Classes
    Iterator

Abstract Value Members

  1. abstract def fn(t: T): U

    Permalink

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: U](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  4. def /:[B](z: B)(op: (B, U) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  5. def :\[B](z: B)(op: (U, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def _advance: Option[U]

    Permalink

    Compute and return the next element

    Compute and return the next element

    Attributes
    protected
    Definition Classes
    MapWithStateIteratorSimpleBufferedIterator
  8. def addString(b: StringBuilder): StringBuilder

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

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

    Permalink
    Definition Classes
    TraversableOnce
  11. def aggregate[B](z: ⇒ B)(seqop: (B, U) ⇒ B, combop: (B, B) ⇒ B): B

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

    Permalink
    Definition Classes
    Any
  13. def buffered: MapWithStateIterator.this.type

    Permalink
    Definition Classes
    BufferedIterator → Iterator
  14. def clear(): Unit

    Permalink
    Definition Classes
    SimpleBufferedIterator
  15. def clone(): AnyRef

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

    Permalink
    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[U, B]): Option[B]

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

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

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

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

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

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

    Permalink
    Definition Classes
    Iterator
  24. def count(p: (U) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def done(): Unit

    Permalink

    Called exactly once, when the iterator is empty

    Called exactly once, when the iterator is empty

    Attributes
    protected
    Definition Classes
    SimpleBufferedIterator
  26. def drop(n: Int): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  27. def dropWhile(p: (U) ⇒ Boolean): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  28. def duplicate: (Iterator[U], Iterator[U])

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. def exists(p: (U) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  32. def filter(p: (U) ⇒ Boolean): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  33. def filterNot(p: (U) ⇒ Boolean): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  34. def finalize(): Unit

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

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  36. def flatMap[B](f: (U) ⇒ GenTraversableOnce[B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  37. def fold[A1 >: U](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  38. def foldLeft[B](z: B)(op: (B, U) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def foldRight[B](z: B)(op: (U, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  40. def forall(p: (U) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  41. def foreach[U](f: (U) ⇒ U): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  43. def grouped[B >: U](size: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  44. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  45. final def hasNext: Boolean

    Permalink

    Compute the next element, if it hasn't already been computed; the result is stored in _next.

    Compute the next element, if it hasn't already been computed; the result is stored in _next.

    Definition Classes
    SimpleBufferedIterator → Iterator
  46. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  47. final def head: U

    Permalink
    Definition Classes
    SimpleBufferedIterator → BufferedIterator
  48. def indexOf[B >: U](elem: B): Int

    Permalink
    Definition Classes
    Iterator
  49. def indexWhere(p: (U) ⇒ Boolean): Int

    Permalink
    Definition Classes
    Iterator
  50. def isEmpty: Boolean

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

    Permalink
    Definition Classes
    Any
  52. def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  53. def length: Int

    Permalink
    Definition Classes
    Iterator
  54. def map[B](f: (U) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  55. def max[B >: U](implicit cmp: Ordering[B]): U

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def maxBy[B](f: (U) ⇒ B)(implicit cmp: Ordering[B]): U

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def min[B >: U](implicit cmp: Ordering[B]): U

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def minBy[B](f: (U) ⇒ B)(implicit cmp: Ordering[B]): U

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def mkString: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  63. final def next(): U

    Permalink
    Definition Classes
    SimpleBufferedIterator → Iterator
  64. def nonEmpty: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  67. def padTo[A1 >: U](len: Int, elem: A1): Iterator[A1]

    Permalink
    Definition Classes
    Iterator
  68. def partition(p: (U) ⇒ Boolean): (Iterator[U], Iterator[U])

    Permalink
    Definition Classes
    Iterator
  69. def patch[B >: U](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  70. def postNext(): Unit

    Permalink

    Hook for subclasses to update books after each element is consumed.

    Hook for subclasses to update books after each element is consumed.

    Attributes
    protected
    Definition Classes
    SimpleBufferedIterator
  71. def product[B >: U](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def reduce[A1 >: U](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  73. def reduceLeft[B >: U](op: (B, U) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  74. def reduceLeftOption[B >: U](op: (B, U) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def reduceOption[A1 >: U](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  76. def reduceRight[B >: U](op: (U, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def reduceRightOption[B >: U](op: (U, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reversed: List[U]

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

    Permalink
    Definition Classes
    Iterator
  80. def scanLeft[B](z: B)(op: (B, U) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  81. def scanRight[B](z: B)(op: (U, B) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  82. def seq: Iterator[U]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  83. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. def slice(from: Int, until: Int): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  85. def sliding[B >: U](size: Int, step: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  86. def span(p: (U) ⇒ Boolean): (Iterator[U], Iterator[U])

    Permalink
    Definition Classes
    Iterator
  87. def sum[B >: U](implicit num: Numeric[B]): B

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

    Permalink
    Definition Classes
    AnyRef
  89. def take(n: Int): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  90. def takeWhile(p: (U) ⇒ Boolean): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  91. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, U, Col[U]]): Col[U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def toArray[B >: U](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def toBuffer[B >: U]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def toIndexedSeq: IndexedSeq[U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def toIterable: Iterable[U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def toIterator: Iterator[U]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  97. def toList: List[U]

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

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. def toSeq: Seq[U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def toSet[B >: U]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  101. def toStream: Stream[U]

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

    Permalink
    Definition Classes
    SimpleBufferedIterator → Iterator → AnyRef → Any
  103. def toTraversable: Traversable[U]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  104. def toVector: Vector[U]

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  108. def withFilter(p: (U) ⇒ Boolean): Iterator[U]

    Permalink
    Definition Classes
    Iterator
  109. def zip[B](that: Iterator[B]): Iterator[(U, B)]

    Permalink
    Definition Classes
    Iterator
  110. def zipAll[B, A1 >: U, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Permalink
    Definition Classes
    Iterator
  111. def zipWithIndex: Iterator[(U, Int)]

    Permalink
    Definition Classes
    Iterator

Inherited from SimpleBufferedIterator[U]

Inherited from BufferedIterator[U]

Inherited from Iterator[U]

Inherited from TraversableOnce[U]

Inherited from GenTraversableOnce[U]

Inherited from AnyRef

Inherited from Any

Ungrouped