K - Type of keysV - Type of valuesjava.lang.AutoCloseable, java.io.Closeable, java.util.Iterator<KeyValue<K,V>>WindowStoreIterator<V>public 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 | 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()