Package ghidra.program.database.code
Class DataRecordIterator
- java.lang.Object
-
- ghidra.program.database.code.DataRecordIterator
-
- All Implemented Interfaces:
DataIterator
,java.lang.Iterable<Data>
,java.util.Iterator<Data>
public class DataRecordIterator extends java.lang.Object implements DataIterator
Converts a record iterator into a DataIterator.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ghidra.program.model.listing.DataIterator
DataIterator.IteratorWrapper
-
-
Field Summary
-
Fields inherited from interface ghidra.program.model.listing.DataIterator
EMPTY
-
-
Constructor Summary
Constructors Constructor Description DataRecordIterator(CodeManager codeMgr, RecordIterator it, boolean forward)
Constructs a new DataRecordIterator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Data
next()
void
remove()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ghidra.program.model.listing.DataIterator
iterator
-
-
-
-
Constructor Detail
-
DataRecordIterator
public DataRecordIterator(CodeManager codeMgr, RecordIterator it, boolean forward)
Constructs a new DataRecordIterator- Parameters:
codeMgr
- the code managerit
- the record iteratorforward
- the direction of the iterator.
-
-
Method Detail
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<Data>
- See Also:
Iterator.remove()
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceDataIterator
- Specified by:
hasNext
in interfacejava.util.Iterator<Data>
- See Also:
CodeUnitIterator.hasNext()
-
next
public Data next()
- Specified by:
next
in interfaceDataIterator
- Specified by:
next
in interfacejava.util.Iterator<Data>
- See Also:
CodeUnitIterator.next()
-
-