Class CollationFastLatin
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.impl.coll.CollationFastLatin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intComparison return value when the regular comparison must be used.static final intstatic final intstatic final intFast Latin format version (one byte 1..FF). -
Method Summary
Modifier and TypeMethodDescriptionstatic intcompareUTF16(char[] table, char[] primaries, int options, CharSequence left, CharSequence right, int startIndex) static intgetOptions(CollationData data, CollationSettings settings, char[] primaries) Computes the options value for the compare functions and writes the precomputed primary weights.
-
Field Details
-
VERSION
public static final int VERSIONFast Latin format version (one byte 1..FF). Must be incremented for any runtime-incompatible changes, in particular, for changes to any of the following constants. When the major version number of the main data format changes, we can reset this fast Latin version to 1.- See Also:
-
LATIN_MAX
public static final int LATIN_MAX- See Also:
-
LATIN_LIMIT
public static final int LATIN_LIMIT- See Also:
-
BAIL_OUT_RESULT
public static final int BAIL_OUT_RESULTComparison return value when the regular comparison must be used. The exact value is not relevant for the format version.- See Also:
-
-
Method Details
-
getOptions
Computes the options value for the compare functions and writes the precomputed primary weights. Returns -1 if the Latin fastpath is not supported for the data and settings. The capacity must be LATIN_LIMIT. -
compareUTF16
public static int compareUTF16(char[] table, char[] primaries, int options, CharSequence left, CharSequence right, int startIndex)
-