java.lang.Object
org.lmdbjava.CursorIterable.KeyVal<T>
- Type Parameters:
T- buffer type
- Enclosing class:
- CursorIterable<T>
Holder for a key and value pair.
The same holder instance will always be returned for a given iterator. The returned keys and values may change or point to different memory locations following changes in the iterator, cursor or transaction.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KeyVal
public KeyVal()
-
-
Method Details
-
key
The key.- Returns:
- key
-
val
The value.- Returns:
- value
-