K - Type of keysV - Type of valuespublic interface KeyValueIterator<K,V> extends java.util.Iterator<KeyValue<K,V>>, java.io.Closeable
KeyValue.
Users must call its close method explicitly upon completeness to release resources,
or use try-with-resources statement (available since JDK7) for this Closeable class.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
K |
peekNextKey()
Peek at the next key without advancing the iterator
|
void close()
close in interface java.lang.AutoCloseableclose in interface java.io.CloseableK peekNextKey()