Class StaticUnicodeSets

java.lang.Object
com.ibm.icu.impl.StaticUnicodeSets

public class StaticUnicodeSets extends Object
This class statically initializes UnicodeSets, originally built for number parsing. Microbenchmarks show this to bring a very sizeable performance boost. IMPORTANT ASSUMPTION FOR NUMBER PARSING: All of the sets contain code points (no strings) and they are all case-folded. If this assumption were ever broken, logic in classes such as SymbolMatcher would need to be updated in order to return well-formed sets upon calls to getLeadCodePoints().
  • Field Details

  • Constructor Details

    • StaticUnicodeSets

      public StaticUnicodeSets()
  • Method Details