Package com.ibm.icu.impl.coll
Class CollationKeys
- java.lang.Object
-
- com.ibm.icu.impl.coll.CollationKeys
-
public final class CollationKeys extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollationKeys.LevelCallbackstatic classCollationKeys.SortKeyByteSink
-
Field Summary
Fields Modifier and Type Field Description static CollationKeys.LevelCallbackSIMPLE_LEVEL_FALLBACK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwriteSortKeyUpToQuaternary(CollationIterator iter, boolean[] compressibleBytes, CollationSettings settings, CollationKeys.SortKeyByteSink sink, int minLevel, CollationKeys.LevelCallback callback, boolean preflight)Writes the sort key bytes for minLevel up to the iterator data's strength.
-
-
-
Field Detail
-
SIMPLE_LEVEL_FALLBACK
public static final CollationKeys.LevelCallback SIMPLE_LEVEL_FALLBACK
-
-
Method Detail
-
writeSortKeyUpToQuaternary
public static void writeSortKeyUpToQuaternary(CollationIterator iter, boolean[] compressibleBytes, CollationSettings settings, CollationKeys.SortKeyByteSink sink, int minLevel, CollationKeys.LevelCallback callback, boolean preflight)
Writes the sort key bytes for minLevel up to the iterator data's strength. Optionally writes the case level. Stops writing levels when callback.needToWrite(level) returns false. Separates levels with the LEVEL_SEPARATOR_BYTE but does not write a TERMINATOR_BYTE.
-
-