|
Scala Library
|
|
scala/CountedIterator.scala]
trait
CountedIterator[+A]
extends Iterator[A]| Method Summary | |
abstract def
|
count
: Int
counts the elements in this iterator; counts start at 0
|
override def
|
counted
: CountedIterator[A]
Returns a counted iterator from this iterator.
|
| Methods inherited from Iterator | |
| hasNext (abstract), next (abstract), take, drop, slice, map, ++, flatMap, filter, filterNot, partialMap, takeWhile, partition, dropWhile, zip, padTo, zipWithIndex, zipAll, foreach, forall, exists, contains, find, indexWhere, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, reduceLeftOption, reduceRightOption, buffered, grouped, sliding, length, duplicate, patch, copyToArray, copyToArray, copyToArray, copyToBuffer, toList, toStream, toSeq, mkString, mkString, mkString, addString, addString, addString, toString, append, findIndexOf, collect, readInto, readInto, readInto |
| 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 |
abstract
def
count : Int
override
def
counted : CountedIterator[A]
|
Scala Library
|
|