Class CountingIterator<T>
java.lang.Object
com.google.common.collect.ForwardingObject
com.google.common.collect.ForwardingIterator<T>
org.aksw.commons.collections.cache.IteratorDecorator<T>
org.aksw.commons.collections.cache.CountingIterator<T>
- All Implemented Interfaces:
Iterator<T>
-
Field Summary
FieldsFields inherited from class IteratorDecorator
delegate -
Constructor Summary
ConstructorsConstructorDescriptionCountingIterator(Iterator<T> delegate) CountingIterator(Iterator<T> delegate, long numItems) -
Method Summary
Methods inherited from class IteratorDecorator
delegateMethods inherited from class com.google.common.collect.ForwardingIterator
hasNext, removeMethods inherited from class com.google.common.collect.ForwardingObject
toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
numItems
protected long numItems
-
-
Constructor Details
-
CountingIterator
-
CountingIterator
-
-
Method Details
-
getNumItems
public long getNumItems() -
next
-