public static class FilteredIterator.IgnoreErrors<T> extends FilteredIterator<T>
FilteredIterator.If<T>, FilteredIterator.IgnoreErrors<T>PeekIterator.ElementaryPeekIterator<T>, PeekIterator.SimplePeekIterator<T>condition, iteratorclosed, EMPTY, initialized, next| Constructor and Description |
|---|
IgnoreErrors(java.util.Iterator<T> i,
int numFailuresBeforeStop)
Wraps the iterator, allowing a number of consecutive failures before returning hasNext()==false
|
| Modifier and Type | Method and Description |
|---|---|
T |
internalNext()
Returns the next or NULL if no next element is available
|
removeasList, asList, asSet, asSet, asSet, close, emptyIterator, hasNext, internalSilentNext, iterator, list, list, main, next, nextOrNull, numElements, numElements, peek, toString, toString, toStringpublic IgnoreErrors(java.util.Iterator<T> i, int numFailuresBeforeStop)
public T internalNext()
PeekIteratorinternalNext in class FilteredIterator<T>