Interface Trie.DataManipulate

All Known Implementing Classes:
PropsVectors.DefaultGetFoldingOffset, Trie.DefaultGetFoldingOffset
Enclosing class:
Trie

public static interface Trie.DataManipulate
Character data in com.ibm.impl.Trie have different user-specified format for different purposes. This interface specifies methods to be implemented in order for com.ibm.impl.Trie, to surrogate offset information encapsulated within the data.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getFoldingOffset(int value)
    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.
  • Method Details

    • getFoldingOffset

      int getFoldingOffset(int value)
      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.
      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