net.sf.saxon.sort
public interface StringCollator extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
int |
compareStrings(java.lang.String o1,
java.lang.String o2)
Compare two strings
|
java.lang.Object |
getCollationKey(java.lang.String s)
Get a collation key for two Strings.
|
int compareStrings(java.lang.String o1, java.lang.String o2)
o1
- the first stringo2
- the second stringjava.lang.Object getCollationKey(java.lang.String s)
s
- the string whose collation key is required