Package ghidra.util.database
Interface DirectedIterator<T>
- Type Parameters:
T- the type of the component, i.e., a key or record
- All Known Subinterfaces:
DirectedLongKeyIterator,DirectedRecordIterator
- All Known Implementing Classes:
AbstractDirectedLongKeyIterator,AbstractDirectedRecordIterator,BackwardLongKeyIterator,BackwardRecordIterator,ForwardLongKeyIterator,ForwardRecordIterator
public interface DirectedIterator<T>
An iterator over some component of a
Table-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe direction of iteration -
Method Summary
-
Method Details
-
hasNext
Check if the table has another record- Returns:
- true if so
- Throws:
IOException- if the table cannot be read
-
next
Get the component of the next record- Returns:
- the component
- Throws:
IOException- if the table cannot be read
-
delete
Delete the current record- Returns:
- true if successful
- Throws:
IOException- if the table cannot be accessed
-