scala.Iterator

class TakeWhileIterator

[source: scala/Iterator.scala]

protected class TakeWhileIterator(p : (A) => Boolean)
extends PredicatedIterator
Method Summary
protected override def fill : Seq[A]
used to fill lookahead buffer
protected override def skip0 : Seq[A]
Methods inherited from DefaultBufferedIterator
putBack, defaultPeek, hasNext, peekList, next
Methods inherited from BufferedIterator
head, peek, readIf, readWhile, startsWith, buffered, toString
Methods inherited from Iterator
take, drop, map, append, ++, flatMap, filter, takeWhile, dropWhile, zip, zipWithIndex, foreach, forall, exists, contains, find, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, counted, duplicate, copyToArray, readInto, readInto, readInto, copyToBuffer, toList, mkString, mkString, addString
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
protected override def skip0 : Seq[A]
Overrides
PredicatedIterator.skip0

protected override def fill : Seq[A]
used to fill lookahead buffer
Overrides
PredicatedIterator.fill