Class ForwardRecordIterator

java.lang.Object
ghidra.util.database.AbstractDirectedRecordIterator
ghidra.util.database.ForwardRecordIterator
All Implemented Interfaces:
DirectedIterator<DBRecord>, DirectedRecordIterator

public class ForwardRecordIterator extends AbstractDirectedRecordIterator
A wrapper of RecordIterator that runs it forward and implements DirectedRecordIterator
  • Constructor Details

    • ForwardRecordIterator

      public ForwardRecordIterator(RecordIterator 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 DBRecord 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