Class StringTable



  • public class StringTable
    extends Object
    Class for mapping a set of strings to integers, giving frequently occurring strings small integers.
    • Constructor Detail

      • StringTable

        public StringTable()
    • Method Detail

      • incr

        public void incr(String s)
      • getIndex

        public int getIndex(String s)
        After the string table has been built, return the index of a string in it. Note, value '0' is reserved for use as a delimiter and will not be returned.
      • finish

        public void finish()
      • clear

        public void clear()