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 |
Horizontal.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, wait
equals
public int compare(Object o1, Object o2)
compare
in interface Comparator
o1
- 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.