public class MFileIterator extends Object implements CloseableIterator<MFile>
| Constructor and Description |
|---|
MFileIterator(Iterator<MFile> iter,
MFileFilter filter)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
IOException is converted to RuntimeException.
|
boolean |
hasNext() |
MFile |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitspliterator, streamforEachRemainingpublic MFileIterator(Iterator<MFile> iter, MFileFilter filter)
iter - iterator over MFilesfilter - optional filter, may be nullpublic void close()
CloseableIteratorclose in interface Closeableclose in interface AutoCloseableclose in interface CloseableIterator<MFile>