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
empty, hasNext, next, remove
Copyright (c) 2011-2014 Eike Stepper (Berlin, Germany) and others.