Class StringEncodingTable


  • public class StringEncodingTable
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getStringId​(java.lang.String string)
      Returns or creates and returns the ID for this string in the table.
      java.util.Map<java.lang.String,​java.lang.Integer> getTable()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringEncodingTable

        public StringEncodingTable()
    • Method Detail

      • getStringId

        public int getStringId​(java.lang.String string)
        Returns or creates and returns the ID for this string in the table. If the string is null it gets special ID -1. All non-null strings will receive a non-negative ID.
      • getTable

        public java.util.Map<java.lang.String,​java.lang.Integer> getTable()