net.sf.saxon.sort
public class UppercaseFirstComparer extends Object implements Comparator, Serializable
Constructor Summary | |
---|---|
UppercaseFirstComparer(Comparator base) |
Method Summary | |
---|---|
int | compare(Object a, Object b)
Compare two string objects: case is irrelevant, unless the strings are equal ignoring
case, in which case uppercase comes first. |
Returns: <0 if a0 if a>b
Throws: ClassCastException if the objects do not implement the CharSequence interface