public class LowercaseFirstComparer extends Object implements Comparator, Serializable
| Constructor and Description |
|---|
LowercaseFirstComparer(Comparator base) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object a,
Object b)
Compare two string objects: case is irrelevant, unless the strings are equal ignoring
case, in which case lowercase comes first.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic LowercaseFirstComparer(Comparator base)
public int compare(Object a, Object b)
compare in interface ComparatorClassCastException - if the objects are of the wrong type for this Comparer