Package db

# Interface DBLongIterator

All Known Implementing Classes:
  `AddressIndexKeyIterator`, `AddressKeyIterator`

public interface DBLongIterator
`DBLongIterator` provides the ability to iterate over long values within a table.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `delete()`
  Delete the last record(s) associated with the last value read via the next or previous methods.
  `boolean`
  `hasNext()`
  Return true if a value is available in the forward direction.
  `boolean`
  `hasPrevious()`
  Return true if a value is available in the reverse direction
  `long`
  `next()`
  Return the next long value.
  `long`
  `previous()`
  Return the previous long value.

- ## Method Details

  - ### hasNext

    boolean hasNext() throws IOException
    Return true if a value is available in the forward direction.
    Throws:
      `IOException` - thrown if an IO error occurs

  - ### hasPrevious

    boolean hasPrevious() throws IOException
    Return true if a value is available in the reverse direction
    Throws:
      `IOException` - thrown if an IO error occurs

  - ### next

    long next() throws IOException
    Return the next long value.
    Throws:
      `IOException` - thrown if an IO error occurs
      `NoSuchElementException` - if the next value is not available.

  - ### previous

    long previous() throws IOException
    Return the previous long value.
    Throws:
      `IOException` - thrown if an IO error occurs
      `NoSuchElementException` - if the previous value is not available.

  - ### delete

    boolean delete() throws IOException
    Delete the last record(s) associated with the last value read via the next or previous methods.
    Returns:
      true if record(s) was successfully deleted.
    Throws:
      `IOException` - thrown if an IO error occurs.