Interface IndexMapper
- All Known Implementing Classes:
AddressBasedIndexMapper
public interface IndexMapper
Interface for mapping indexes when the LayoutModel changes. In other words, if the mapping
of layout indexes to some data model changes and you want the
FieldPanel
to continue
to display the same model data on the screen, the IndexMapper can be used to convert old
indexes to new indexes.-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionmap
(BigInteger value) Maps an index from one address mapping to another.
-
Field Details
-
IDENTITY_MAPPER
-
-
Method Details
-
map
Maps an index from one address mapping to another. This method will returnBigInteger.ZERO
if there no mapping.- Parameters:
value
- the index value to map from an old index map to a new index map- Returns:
- the mapped index
-