The comparison function compares the character data stored in two different string arrays. Returns information about whether a string array is less than, greater than or equal to another string array.
|source||the source string array to be compared with. |
|sourceLength||the length of the source string array. If this value is equal to -1, the string array is null-terminated. |
|target||the string that is to be compared with the source string. |
|targetLength||the length of the target string array. If this value is equal to -1, the string array is null-terminated. |
- Returns a byte value. GREATER if source is greater than target; EQUAL if source is equal to target; LESS if source is less than target
- ICU 2.6 use the overload with UErrorCode &
Reimplemented in RuleBasedCollator, and TestCollator.
Definition at line 425 of file coll.cpp.
References compare(), and U_ZERO_ERROR.