Package org.duracloud.common.collection
Class StreamingIterator<T>
java.lang.Object
org.duracloud.common.collection.StreamingIterator<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Iterator<T>
An {code Iterator} implementation that delegates its underlying data provider to an
{code IteratorSource}. It is useful for implementing an iterator that iterates over
a collection of items of indeterminate size.
- Author:
- Daniel Bernstein