Package ghidra.program.database.code
Class DataKeyIterator
- java.lang.Object
-
- ghidra.program.database.code.DataKeyIterator
-
- All Implemented Interfaces:
DataIterator
,java.lang.Iterable<Data>
,java.util.Iterator<Data>
public class DataKeyIterator extends java.lang.Object implements DataIterator
Converts a DBLongIterator into a DataIterator
-
-
Field Summary
-
Fields inherited from interface ghidra.program.model.listing.DataIterator
EMPTY
-
-
Constructor Summary
Constructors Constructor Description DataKeyIterator(CodeManager codeMgr, AddressMap addrMap, DBLongIterator it)
Constructs a new DataKeyIterator
-
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
-
DataKeyIterator
public DataKeyIterator(CodeManager codeMgr, AddressMap addrMap, DBLongIterator it)
Constructs a new DataKeyIterator- Parameters:
codeMgr
- the code manageraddrMap
- the address map to convert keys to addresses.it
- DBLongIterator
-
-
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()
-
-