public interface StringCollator extends Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
comparesEqual(String s1,
String s2)
Compare two strings for equality.
|
int |
compareStrings(String o1,
String o2)
Compare two strings
|
Object |
getCollationKey(String s)
Get a collation key for a String.
|
int compareStrings(String o1, String o2)
o1 - the first stringo2 - the second stringboolean comparesEqual(String s1, String s2)
s1 - the first strings2 - the second stringObject getCollationKey(String s)
s - the string whose collation key is required