Class IdMapping


  • public class IdMapping
    extends Object
    Map some set of dictionary id to a smaller set of dictionaryIds (or... the same if you are wasteful), providing a translation layer between them
    • Method Detail

      • getForwardedId

        public int getForwardedId​(int id)
        Get the substitute index, given the original
      • getReverseId

        public int getReverseId​(int id)
        Get the original index, given the substitute
      • getValueCardinality

        public int getValueCardinality()
        Get the number of values stored in forwardMapping