Package org.lmdbjava

Class CursorIterable.KeyVal<T>

  • Type Parameters:
    T - buffer type
    Enclosing class:
    CursorIterable<T>

    public static final class CursorIterable.KeyVal<T>
    extends Object
    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 Detail

      • KeyVal

        public KeyVal()
    • Method Detail

      • key

        public T key()
        The key.
        Returns:
        key
      • val

        public T val()
        The value.
        Returns:
        value