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