T
- buffer typepublic final class CursorIterator<T> extends java.lang.Object implements java.util.Iterator<CursorIterator.KeyVal<T>>, java.lang.AutoCloseable
Modifier and Type | Class and Description |
---|---|
static class |
CursorIterator.IteratorType
Deprecated.
use
KeyRange instead |
static class |
CursorIterator.KeyVal<T>
Holder for a key and value pair.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasNext() |
java.lang.Iterable<CursorIterator.KeyVal<T>> |
iterable()
Obtain an iterator.
|
CursorIterator.KeyVal<T> |
next() |
void |
remove() |
public void close()
close
in interface java.lang.AutoCloseable
public boolean hasNext()
hasNext
in interface java.util.Iterator<CursorIterator.KeyVal<T>>
public java.lang.Iterable<CursorIterator.KeyVal<T>> iterable()
public CursorIterator.KeyVal<T> next() throws java.util.NoSuchElementException
next
in interface java.util.Iterator<CursorIterator.KeyVal<T>>
java.util.NoSuchElementException
public void remove()
remove
in interface java.util.Iterator<CursorIterator.KeyVal<T>>
Copyright © 2016–2018 The LmdbJava Open Source Project. All rights reserved.