private static class Horizontal.JobComparator extends Object implements Comparator
This comparator is not consistent with the Job.equals(Object) method. Hence, should not be used in sorted sets or Maps.
| Modifier | Constructor and Description |
|---|---|
private |
JobComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Compares this object with the specified object for order.
|
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 int compare(Object o1, Object o2)
compare in interface Comparatoro1 - is the first object to be compared.o2 - is the second object to be compared.ClassCastException - if the specified object's type
prevents it from being compared to this Object.