Package ghidra.program.database.code
Class CodeUnitKeyIterator
java.lang.Object
ghidra.program.database.code.CodeUnitKeyIterator
- All Implemented Interfaces:
- CodeUnitIterator,- Iterable<CodeUnit>,- Iterator<CodeUnit>
Converts an AddressKeyIterator into a CodeUnitIterator
- 
Field SummaryFields inherited from interface ghidra.program.model.listing.CodeUnitIteratorEMPTY_ITERATOR
- 
Constructor SummaryConstructorsConstructorDescriptionCodeUnitKeyIterator(CodeManager codeMgr, AddressKeyIterator it, boolean forward) Construct a new CodeUnitKeyIterator
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliteratorMethods inherited from interface java.util.IteratorforEachRemaining
- 
Constructor Details- 
CodeUnitKeyIteratorConstruct a new CodeUnitKeyIterator- Parameters:
- codeMgr- the code manager
- it- the addressKeyIterator
- forward- the direction to iterate.
 
 
- 
- 
Method Details- 
removepublic void remove()
- 
hasNextpublic boolean hasNext()Description copied from interface:CodeUnitIteratorReturn true if there is a next CodeUnit.- Specified by:
- hasNextin interface- CodeUnitIterator
- Specified by:
- hasNextin interface- Iterator<CodeUnit>
- See Also:
 
- 
nextDescription copied from interface:CodeUnitIteratorGet the next CodeUnit or null if no more CodeUnits.NOTE: This deviates from the standard Iteratorinterface by returning null instead of throwing an exception.- Specified by:
- nextin interface- CodeUnitIterator
- Specified by:
- nextin interface- Iterator<CodeUnit>
- See Also:
 
- 
iterator
 
-