Class BackwardLongKeyIterator

java.lang.Object
ghidra.util.database.AbstractDirectedLongKeyIterator
ghidra.util.database.BackwardLongKeyIterator
All Implemented Interfaces:
DirectedIterator<Long>, DirectedLongKeyIterator

public class BackwardLongKeyIterator extends AbstractDirectedLongKeyIterator
A wrapper of DBLongIterator that runs it backward and implements DirectedLongKeyIterator
  • Constructor Details

    • BackwardLongKeyIterator

      public BackwardLongKeyIterator(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