Class Cursor<K,V>
java.lang.Object
org.h2.mvstore.Cursor<K,V>
- Type Parameters:
K- the key typeV- the value type
- All Implemented Interfaces:
Iterator<K>
-
Constructor Details
-
Cursor
-
Cursor
- Parameters:
rootReference- of the treefrom- starting key (inclusive), if null start from the first / last keyto- ending key (inclusive), if null there is no boundaryreverse- true if tree should be iterated in key's descending order
-
-
Method Details
-
hasNext
-
next
-
getKey
-
getValue
-
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
-