edu.stanford.nlp.tmt.data.Dataset

QueuedIterator

class QueuedIterator [T, ID] extends Iterator[T]

Attributes
protected
Linear Supertypes
Iterator[T], TraversableOnce[T], GenTraversableOnce[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. QueuedIterator
  2. Iterator
  3. TraversableOnce
  4. GenTraversableOnce
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueuedIterator (iter: Iterator[T], id: (T) ⇒ ID)

Value Members

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. def /:\ [A1 >: T] (z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
  7. def :\ [B] (z: B)(op: (T, B) ⇒ B): B

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

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

    Attributes
    final
    Definition Classes
    Any
  10. def addString (b: StringBuilder): StringBuilder

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  15. def buffered : BufferedIterator[T]

    Definition Classes
    Iterator
  16. def clone (): AnyRef

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

    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

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

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

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

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

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

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

    Definition Classes
    TraversableOnce
  24. def count (p: (T) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  25. def discardUntil (to: ID): Unit

    Drops elements from the queue until the given id.

  26. def drop (n: Int): Iterator[T]

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

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

    Definition Classes
    Iterator
  29. def enqueue : ID

  30. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  31. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  32. def exists (p: (T) ⇒ Boolean): Boolean

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

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

    Definition Classes
    Iterator
  35. def finalize (): Unit

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  41. def forall (p: (T) ⇒ Boolean): Boolean

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

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  43. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  44. def grouped [B >: T] (size: Int): GroupedIterator[B]

    Definition Classes
    Iterator
  45. def hasDefiniteSize : Boolean

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  46. def hasNext : Boolean

    Definition Classes
    QueuedIterator → Iterator
  47. def hasQueuedID (id: ID): Boolean

    Returns true if the given id has already been queued.

  48. def hasUnqueued : Boolean

    Returns true if underlying iterator still has remaining items.

  49. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  50. val idSet : HashSet[ID]

  51. def indexOf [B >: T] (elem: B): Int

    Definition Classes
    Iterator
  52. def indexWhere (p: (T) ⇒ Boolean): Int

    Definition Classes
    Iterator
  53. def isEmpty : Boolean

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

    Attributes
    final
    Definition Classes
    Any
  55. def isTraversableAgain : Boolean

    Definition Classes
    Iterator → GenTraversableOnce
  56. def length : Int

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def mkString : String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  66. def next (): T

    Definition Classes
    QueuedIterator → Iterator
  67. def nonEmpty : Boolean

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

    Attributes
    final
    Definition Classes
    AnyRef
  69. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  70. def padTo [A1 >: T] (len: Int, elem: A1): Iterator[A1]

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. val queue : Queue[T]

  75. def reduce [A1 >: T] (op: (A1, A1) ⇒ A1): A1

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

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

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

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

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

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

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

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

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

    Definition Classes
    Iterator
  85. def seq : Iterator[T]

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  92. def take (n: Int): Iterator[T]

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

    Definition Classes
    Iterator
  94. def toArray [B >: T] (implicit arg0: ClassManifest[B]): Array[B]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  96. def toIndexedSeq [B >: T] : IndexedSeq[B]

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

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

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

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

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

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

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

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

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

    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  106. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  109. def withFilter (p: (T) ⇒ Boolean): Iterator[T]

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

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

    Definition Classes
    Iterator
  112. def zipWithIndex : Iterator[(T, Int)] { ... /* 2 definitions in type refinement */ }

    Definition Classes
    Iterator

Deprecated Value Members

  1. def append [B >: T] (that: Iterator[B]): Iterator[B]

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use ++

  2. def counted : CountedIterator[T]

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use zipWithIndex in Iterator

  3. def findIndexOf (p: (T) ⇒ Boolean): Int

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use indexWhere instead

  4. def readInto [B >: T] (xs: Array[B]): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

  5. def readInto [B >: T] (xs: Array[B], start: Int): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

  6. def readInto [B >: T] (xs: Array[B], start: Int, sz: Int): Unit

    Definition Classes
    Iterator
    Annotations
    @deprecated
    Deprecated

    use copyToArray instead

Inherited from Iterator[T]

Inherited from TraversableOnce[T]

Inherited from GenTraversableOnce[T]

Inherited from AnyRef

Inherited from Any