Package ghidra.program.database.register
Class IndexToAddressRangeIteratorAdapter
- java.lang.Object
-
- ghidra.program.database.register.IndexToAddressRangeIteratorAdapter
-
- All Implemented Interfaces:
AddressRangeIterator
,java.lang.Iterable<AddressRange>
,java.util.Iterator<AddressRange>
public class IndexToAddressRangeIteratorAdapter extends java.lang.Object implements AddressRangeIterator
-
-
Constructor Summary
Constructors Constructor Description IndexToAddressRangeIteratorAdapter(AddressMap addressMap, IndexRangeIterator it)
Constructs a new IndexToAddressRangeIteratorAdapter given an AddressMap and IndexRangeIterator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
java.util.Iterator<AddressRange>
iterator()
AddressRange
next()
void
remove()
-
-
-
Constructor Detail
-
IndexToAddressRangeIteratorAdapter
public IndexToAddressRangeIteratorAdapter(AddressMap addressMap, IndexRangeIterator it)
Constructs a new IndexToAddressRangeIteratorAdapter given an AddressMap and IndexRangeIterator- Parameters:
addressMap
- the address mapit
- the IndexRangeIterator
-
-
Method Detail
-
iterator
public java.util.Iterator<AddressRange> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<AddressRange>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<AddressRange>
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<AddressRange>
- See Also:
Iterator.hasNext()
-
next
public AddressRange next()
- Specified by:
next
in interfacejava.util.Iterator<AddressRange>
- See Also:
Iterator.next()
-
-