public class LimitedIterator<T> extends AbstractFilteredIterator<T>
END_OF_DATA
Constructor and Description |
---|
LimitedIterator(Iterator<T> delegate,
int limit) |
Modifier and Type | Method and Description |
---|---|
int |
getCount() |
int |
getLimit() |
protected boolean |
isValid(T element) |
computeNextElement
hasNext, next, remove
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.