| Method Summary | ||
|---|---|---|
method | compare(v1, v2, ignoreCase) | |
Compares two string values according to certain collation rules.
|
||
method | getCollationKey(v, ignoreCase) | |
Transforms the string into a comparable object according to certain collation rules.
|
||
int compare(v1, v2, ignoreCase)
v1: String - the first stringv2: String - the second stringignoreCase: boolean - whether ignore case when comparing valuesIComparable getCollationKey(v, ignoreCase)
v: String - String value needs to be compared with others.ignoreCase: boolean - whether ignore case when comparing values