Class CountingIterator<T>

  • Type Parameters:
    T - iterator type
    All Implemented Interfaces:
    Iterator<T>

    public class CountingIterator<T>
    extends AbstractIteratorDecorator<T>
    Counts the number of time next() was invoked.
    Since:
    2.0.0
    Author:
    Pascal Essiembre