Cursor

A cursor to iterate over elements in ascending order.

Methods
K getKey()
Get the last read key if there was one.
K getKey()
Get the last read key if there was one.
Returns:
the key or null
Page getPage()
Page getPage()
V getValue()
Get the last read value if there was one.
V getValue()
Get the last read value if there was one.
Returns:
the value or null
boolean hasNext()
boolean hasNext()
K ()
K ()
void remove()
void remove()
void skip(long n)
Skip over that many entries.
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