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() |
boolean |
hasNext() |
MFile |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic MFileIterator(Iterator<MFile> iter, MFileFilter filter)
iter - iterator over MFilesfilter - optional filter, may be nullpublic void close()
close in interface Closeableclose in interface AutoCloseable