Package ghidra.program.model.address
Class AddressSetMapping
- java.lang.Object
- 
- ghidra.program.model.address.AddressSetMapping
 
- 
 public class AddressSetMapping extends java.lang.ObjectClass that provides random access toAddresses in anAddressSet, based on the index of the address in the set, not theaddress offset value.For instance, a AddressSetcontaining addresses [0,1,2,3,4,90,91,92,93,94],getAddress(1)will return anAddresswith an offset value of 1, butgetAddress(5)will return anAddressinstance with an offset value of 90.This collapses a sparse address space with holes into a contiguous list of addresses. 
- 
- 
Constructor SummaryConstructors Constructor Description AddressSetMapping(AddressSetView set)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressgetAddress(int index)Returns the Address at the specified position in the AddressSet.
 
- 
- 
- 
Constructor Detail- 
AddressSetMappingpublic AddressSetMapping(AddressSetView set) 
 
- 
 - 
Method Detail- 
getAddresspublic Address getAddress(int index) Returns the Address at the specified position in the AddressSet.- Parameters:
- index- the index into the ordered list of addresses within an AddressSet.
- Returns:
- the Address at the specified position.
 
 
- 
 
-