Package ghidra.util.database

# Class ForwardLongKeyIterator

java.lang.Object
ghidra.util.database.AbstractDirectedLongKeyIterator
ghidra.util.database.ForwardLongKeyIterator

All Implemented Interfaces:
  `DirectedIterator<Long>`, `DirectedLongKeyIterator`

public class ForwardLongKeyIterator extends AbstractDirectedLongKeyIterator
A wrapper of `DBLongIterator` that runs it forward and implements `DirectedLongKeyIterator`

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from interface ghidra.util.database.DirectedIterator

  `DirectedIterator.Direction`

- ## Field Summary

  ### Fields inherited from class ghidra.util.database.AbstractDirectedLongKeyIterator

  `it`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ForwardLongKeyIterator(DBLongIterator it)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasNext()`
  Check if the table has another record
  `Long`
  `next()`
  Get the component of the next record

  ### Methods inherited from class ghidra.util.database.AbstractDirectedLongKeyIterator

  `delete`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ForwardLongKeyIterator

    public ForwardLongKeyIterator(DBLongIterator it)

- ## Method Details

  - ### hasNext

    public boolean hasNext() throws IOException
    Description copied from interface: `DirectedIterator`
    Check if the table has another record
    Returns:
      true if so
    Throws:
      `IOException` - if the table cannot be read

  - ### next

    public Long next() throws IOException
    Description copied from interface: `DirectedIterator`
    Get the component of the next record
    Returns:
      the component
    Throws:
      `IOException` - if the table cannot be read