Package ghidra.app.util.viewer.util
Class AddressBasedIndexMapper
java.lang.Object
ghidra.app.util.viewer.util.AddressBasedIndexMapper
- All Implemented Interfaces:
IndexMapper
Implementation of IndexMapper that uses an old and new AddressIndexMap to map indexes
when the AddressIndexMap changes.
-
Field Summary
Fields inherited from interface docking.widgets.fieldpanel.listener.IndexMapper
IDENTITY_MAPPER
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmap
(BigInteger value) Maps an index from one address mapping to another.
-
Constructor Details
-
AddressBasedIndexMapper
-
-
Method Details
-
map
Description copied from interface:IndexMapper
Maps an index from one address mapping to another. This method will returnBigInteger.ZERO
if there no mapping.- Specified by:
map
in interfaceIndexMapper
- Parameters:
value
- the index value to map from an old index map to a new index map- Returns:
- the mapped index
-