scala.BufferedIterator

trait PutBack

[source: scala/BufferedIterator.scala]

trait PutBack[+A]
extends Advanced[A]
Direct Known Subclasses:
BufferedIterator.Default

Method Summary
override def counted : CountedIterator[A] with PutBack[A]
Returns a counted iterator from this iterator.
protected[this] def flushFrom [B](i : Default[B])(implicit view$1 : (B) => Seq[A]) : Unit
protected[this] abstract def putBack (a : A) : Unit
Methods inherited from Advanced
peekList (abstract), head, peek, defaultPeek, startsWith, readIfStartsWith, hasNext, toString, advanced
Methods inherited from BufferedIterator
headOpt, buffered, readIf, readWhile
Methods inherited from Iterator
next (abstract), take, drop, map, append, ++, flatMap, filter, takeWhile, dropWhile, zip, zipWithIndex, foreach, forall, exists, contains, find, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, 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[this] abstract def putBack(a : A) : Unit

override def counted : CountedIterator[A] with PutBack[A]
Returns a counted iterator from this iterator.
Overrides
Advanced.counted

protected[this] def flushFrom[B](i : Default[B])(implicit view$1 : (B) => Seq[A]) : Unit