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
  • 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