Class Cursor<K,V>
- java.lang.Object
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.Cursor<K,V>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KgetKey()Get the last read key if there was one.VgetValue()Get the last read value if there was one.booleanhasNext()Knext()voidremove()voidskip(long n)Skip over that many entries.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
getKey
public K getKey()
Get the last read key if there was one.- Returns:
- the key or null
-
getValue
public V getValue()
Get the last read value if there was one.- Returns:
- the value or null
-
skip
public void skip(long n)
Skip over that many entries. This method is relatively fast (for this map implementation) even if many entries need to be skipped.- Parameters:
n- the number of entries to skip
-
-