public class InodeTreeBufferedIterator extends Object implements Iterator<Journal.JournalEntry>, 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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public static CloseableIterator<Journal.JournalEntry> create(InodeStore inodeStore, InodeDirectory rootInode)
inodeStore
- the inode storerootInode
- root inodepublic boolean hasNext()
hasNext
in interface Iterator<Journal.JournalEntry>
public Journal.JournalEntry next()
next
in interface Iterator<Journal.JournalEntry>
public void remove()
remove
in interface Iterator<Journal.JournalEntry>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.