Class Trie.DefaultGetFoldingOffset

java.lang.Object
com.ibm.icu.impl.Trie.DefaultGetFoldingOffset
All Implemented Interfaces:
Trie.DataManipulate
Enclosing class:
Trie

private static class Trie.DefaultGetFoldingOffset extends Object implements Trie.DataManipulate
  • Constructor Details

    • DefaultGetFoldingOffset

      private DefaultGetFoldingOffset()
  • Method Details

    • getFoldingOffset

      public int getFoldingOffset(int value)
      Description copied from interface: Trie.DataManipulate
      Called by com.ibm.icu.impl.Trie to extract from a lead surrogate's data the index array offset of the indexes for that lead surrogate.
      Specified by:
      getFoldingOffset in interface Trie.DataManipulate
      Parameters:
      value - data value for a surrogate from the trie, including the folding offset
      Returns:
      data offset or 0 if there is no data for the lead surrogate