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.
- Since:
- release 2.1, Jan 01 2002
-
Method Summary
Modifier and TypeMethodDescriptionintgetFoldingOffset(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
-