K - the key typeV - the value typepublic class Cursor<K,V>
extends java.lang.Object
implements java.util.Iterator<K>
| Modifier and Type | Method and Description |
|---|---|
K |
getKey()
Get the last read key if there was one.
|
V |
getValue()
Get the last read value if there was one.
|
boolean |
hasNext() |
K |
next() |
void |
remove() |
void |
skip(long n)
Skip over that many entries.
|
public boolean hasNext()
hasNext in interface java.util.Iterator<K>public K getKey()
public V getValue()
public void skip(long n)
n - the number of entries to skippublic void remove()
remove in interface java.util.Iterator<K>