|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringCollator
This interface represents a "collation" as defined in XPath, that is, a set of rules for comparing strings
Method Summary | |
---|---|
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 two Strings. |
Method Detail |
---|
int compareStrings(String o1, String o2)
o1
- the first stringo2
- the second string
boolean comparesEqual(String s1, String s2)
s1
- the first strings2
- the second string
Object getCollationKey(String s)
s
- the string whose collation key is required
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |