Class ConvTable


  • class ConvTable
    extends java.lang.Object
    ICONV or OCONV replacement table
    • Constructor Summary

      Constructors 
      Constructor Description
      ConvTable​(java.util.TreeMap<java.lang.String,​java.lang.String> mappings)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void applyMappings​(java.lang.StringBuilder sb)  
      (package private) boolean mightReplaceChar​(char c)  
      • Methods inherited from class java.lang.Object

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

      • firstCharHashes

        private final FixedBitSet firstCharHashes
      • mod

        private final int mod
    • Constructor Detail

      • ConvTable

        ConvTable​(java.util.TreeMap<java.lang.String,​java.lang.String> mappings)
    • Method Detail

      • applyMappings

        void applyMappings​(java.lang.StringBuilder sb)
      • mightReplaceChar

        boolean mightReplaceChar​(char c)