Package ghidra.program.util
Class AddressIteratorConverter
- java.lang.Object
-
- ghidra.program.util.AddressIteratorConverter
-
- All Implemented Interfaces:
AddressIterator,java.lang.Iterable<Address>,java.util.Iterator<Address>
public class AddressIteratorConverter extends java.lang.Object implements AddressIterator
-
-
Constructor Summary
Constructors Constructor Description AddressIteratorConverter(Program iteratorsProgram, AddressIterator iterator, Program otherProgram)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Checks if there is a next address in the iteration.java.util.Iterator<Address>iterator()Addressnext()Get the next address.voidremove()
-
-
-
Constructor Detail
-
AddressIteratorConverter
public AddressIteratorConverter(Program iteratorsProgram, AddressIterator iterator, Program otherProgram)
-
-
Method Detail
-
hasNext
public boolean hasNext()
Description copied from interface:AddressIteratorChecks if there is a next address in the iteration.- Specified by:
hasNextin interfaceAddressIterator- Specified by:
hasNextin interfacejava.util.Iterator<Address>- Returns:
- true if there is a next address.
-
next
public Address next()
Description copied from interface:AddressIteratorGet the next address.- Specified by:
nextin interfaceAddressIterator- Specified by:
nextin interfacejava.util.Iterator<Address>- Returns:
- the next address in the iteration.
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<Address>- See Also:
Iterator.remove()
-
-