public abstract class AbstractCloseableIterator<T> extends AbstractIterator<T> implements CloseableIterator<T>
AbstractIterator class which provides additional
support for closing the Iterator quietly.| Constructor and Description |
|---|
AbstractCloseableIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeQuietly()
Unconditionally closes the iterator.
|
computeNext, endOfData, hasNext, next, peekremoveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, hasNext, next, removepublic void closeQuietly()
Unconditionally closes the iterator.
Equivalent to Closeable.close(), except any exceptions will be ignored.
closeQuietly in interface CloseableIterator<T>Copyright © 2018 Calrissian. All rights reserved.