public class LimitingIterator<T> extends ReferenceIterator<T>
iterator
Constructor and Description |
---|
LimitingIterator(java.util.Iterator<T> iterator,
long limit) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
remove
public LimitingIterator(java.util.Iterator<T> iterator, long limit)