Package ghidra.util.database
Class AbstractDirectedRecordIterator
java.lang.Object
ghidra.util.database.AbstractDirectedRecordIterator
- All Implemented Interfaces:
DirectedIterator<DBRecord>,DirectedRecordIterator
- Direct Known Subclasses:
BackwardRecordIterator,ForwardRecordIterator
public abstract class AbstractDirectedRecordIterator
extends Object
implements DirectedRecordIterator
An abstract implementation of
DirectedRecordIterator
Essentially, this just wraps a RecordIterator, but imposes and encapsulates its
direction.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.util.database.DirectedIterator
DirectedIterator.Direction -
Field Summary
FieldsFields inherited from interface ghidra.util.database.DirectedRecordIterator
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.util.database.DirectedIterator
hasNext, next
-
Field Details
-
it
-
-
Constructor Details
-
AbstractDirectedRecordIterator
Wrap the given iterator- Parameters:
it- the iterator
-
-
Method Details
-
delete
Description copied from interface:DirectedIteratorDelete the current record- Specified by:
deletein interfaceDirectedIterator<DBRecord>- Returns:
- true if successful
- Throws:
IOException- if the table cannot be accessed
-