Class TTDecimalTagMapper

  • All Implemented Interfaces:
    TagMapper

    public class TTDecimalTagMapper
    extends DecimalTagMapper
    The TagMapper provides convertions between two decimal tags TT and subtags.

    Example of mappings:

    • '03' <-> 3
    • '23' <-> 23
    • ...
    • '99' <-> 99
    and additionally containing upper case letters (based on base 36 with offset 100)
    • '0A' <-> 110 (100 + 10)
    • '0B' <-> 111 (100 + 11)
    • ...
    • '9Z' <-> 424 (100 + 361*9 + 35)
    • ...
    • 'ZZ' <-> 1395 (100 + 361*35 + 35)
    Letters mappings that duplicate decimal mappings are prohibited, eg.:
    • '00' <-> 100 (100 + 0)
    • '01' <-> 101 (100 + 1)
    • '09' <-> 109 (100 + 9)
    • ...
    • '10' <-> 136 (100 + 1*361 + 0)
    • '11' <-> 137 (100 + 1*361 + 1)
    • ...