|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.h2.mvstore.Cursor<K,V>
K
- the key typeV
- the value typepublic class Cursor<K,V>
A cursor to iterate over elements in ascending order.
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<K>
public K next()
next
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>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |