Class RBBISetBuilder

java.lang.Object
com.ibm.icu.text.RBBISetBuilder

class RBBISetBuilder extends Object
  • Field Details

    • fRB

    • fRangeList

    • fTrie

    • fFrozenTrie

      CodePointTrie fFrozenTrie
    • fGroupCount

      int fGroupCount
      Number of range groups, which are groups of ranges that are in the same original UnicodeSets.
    • fDictCategoriesStart

      int fDictCategoriesStart
      The number of the first dictionary char category. If there are no Dictionary categories, set to the last category + 1.
    • fSawBOF

      boolean fSawBOF
    • MAX_CHAR_CATEGORIES_FOR_8BITS_TRIE

      private static final int MAX_CHAR_CATEGORIES_FOR_8BITS_TRIE
      See Also:
  • Constructor Details

  • Method Details

    • buildRanges

      void buildRanges()
    • buildTrie

      void buildTrie()
      Build the Trie table for mapping UChar32 values to the corresponding range group number.
    • mergeCategories

      void mergeCategories(RBBIRuleBuilder.IntPair categories)
      Merge two character categories that have been identified as having equivalent behavior. The ranges belonging to the second category (table column) will be added to the first.
      Parameters:
      categories - the pair of categories to be merged.
    • freezeTrieIfNotYet

      void freezeTrieIfNotYet()
    • getTrieSize

      int getTrieSize()
    • serializeTrie

      void serializeTrie(OutputStream os) throws IOException
      Throws:
      IOException
    • addValToSets

      void addValToSets(List<RBBINode> sets, int val)
    • addValToSet

      void addValToSet(RBBINode usetNode, int val)
    • getNumCharCategories

      int getNumCharCategories()
    • getDictCategoriesStart

      int getDictCategoriesStart()
    • sawBOF

      boolean sawBOF()
    • getFirstChar

      int getFirstChar(int category)
    • printRanges

      void printRanges()
    • printRangeGroups

      void printRangeGroups()
    • printSets

      void printSets()