Package ghidra.program.database.code
Class DataFilteredCodeUnitIterator
- java.lang.Object
-
- ghidra.program.database.code.DataFilteredCodeUnitIterator
-
- All Implemented Interfaces:
DataIterator
,java.lang.Iterable<Data>
,java.util.Iterator<Data>
public class DataFilteredCodeUnitIterator extends java.lang.Object implements DataIterator
Converts a code unit iterator into a data iterator.
-
-
Field Summary
-
Fields inherited from interface ghidra.program.model.listing.DataIterator
EMPTY
-
-
Constructor Summary
Constructors Constructor Description DataFilteredCodeUnitIterator(CodeUnitIterator it)
Constructs a new DataFilteredCodeUnitIterator.
-
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
-
DataFilteredCodeUnitIterator
public DataFilteredCodeUnitIterator(CodeUnitIterator it)
Constructs a new DataFilteredCodeUnitIterator.- Parameters:
it
- the codeunit iterator to filter on.
-
-
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:
DataIterator.hasNext()
-
next
public Data next()
- Specified by:
next
in interfaceDataIterator
- Specified by:
next
in interfacejava.util.Iterator<Data>
- See Also:
DataIterator.next()
-
-