V
- the type of value returned by this iteratorpublic interface ClosableIterator<V>
extends java.util.Iterator<V>
Implement close to free resources assigned to the iterator such as open file handles, persistent state etc.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this iterator and frees resources assigned to it.
|