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