Class TTTDecimalTagMapper

  • All Implemented Interfaces:
    TagMapper

    public class TTTDecimalTagMapper
    extends DecimalTagMapper
    The TagMapper provides convertions between three decimal tags TTT and subtags.

    Example of mappings:

    • '003' <-> 3
    • '023' <-> 23
    • ...
    • '934' <-> 934
    and additionally containing upper case letters (based on base 36 with offset 1000)
    • '00A' <-> 1010 (1000 + 10)
    • '00B' <-> 1011 (1000 + 11)
    • ...
    • '90Z' <-> 12699 (1000 + 9*362 + 35)
    • ...
    • 'ZZZ' <-> 47655 (1000 + 35*362 + 35*361 + 35)
    Letters mappings that duplicate decimal mappings are prohibited, eg.:
    • '000' <-> 1000 (1000 + 0)
    • '001' <-> 1001 (1000 + 1)
    • '009' <-> 1009 (1000 + 9)
    • ...
    • '010' <-> 1036 (1000 + 1*361 + 0)
    • '011' <-> 1037 (1000 + 1*361 + 1)
    • ...