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 Detail

      • IDENTITY_MAPPER

        static final IndexMapper IDENTITY_MAPPER
    • Method Detail

      • map

        java.math.BigInteger map​(java.math.BigInteger value)
        Maps an index from one address mapping to another. This method will return BigInteger.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