in scala
trait CountedIterator

abstract trait CountedIterator [A]
extends java.lang.Object
with scala.Iterator[A]
with scala.ScalaObject
Counted iterators keep track of the number of elements seen so far
Author:
Martin Odersky
Version:
1.0, 16/07/2003

Def Summary
abstract def count : scala.Int
counts the elements in this iterator; counts start at 0


Def Detail
abstract def count : scala.Int
counts the elements in this iterator; counts start at 0