public class InodeTreeBufferedIterator extends java.lang.Object implements java.util.Iterator<Journal.JournalEntry>, java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static CloseableIterator<Journal.JournalEntry> |
create(InodeStore inodeStore,
InodeDirectory rootInode)
Creates buffered iterator with closeable interface.
|
boolean |
hasNext() |
Journal.JournalEntry |
next() |
void |
remove() |
public static CloseableIterator<Journal.JournalEntry> create(InodeStore inodeStore, InodeDirectory rootInode)
inodeStore - the inode storerootInode - root inodepublic boolean hasNext()
hasNext in interface java.util.Iterator<Journal.JournalEntry>public Journal.JournalEntry next()
next in interface java.util.Iterator<Journal.JournalEntry>public void remove()
remove in interface java.util.Iterator<Journal.JournalEntry>public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableCopyright © 2020. All Rights Reserved.