public class AlphanumericComparer extends Object implements Comparator, Serializable
Note: this Comparator produces an ordering that is not compatible with equals().
Constructor and Description |
---|
AlphanumericComparer(Comparator base) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object a1,
Object a2)
Compare two objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public AlphanumericComparer(Comparator base)
public int compare(Object a1, Object a2)
compare
in interface Comparator