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, wait
forEachRemaining
public MFileIterator(Iterator<MFile> iter, MFileFilter filter)
iter
- iterator over MFilesfilter
- optional filter, may be nullpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 1999–2015 UCAR/Unidata. All rights reserved.