Class CountingIterator<T>
java.lang.Object
org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecorator<T,T>
org.apache.commons.collections4.iterators.AbstractIteratorDecorator<T>
com.norconex.commons.lang.collection.CountingIterator<T>
- Type Parameters:
T- iterator type
- All Implemented Interfaces:
Iterator<T>
Counts the number of time
next() was invoked.- Since:
- 2.0.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecorator
getIterator, hasNext, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining