private static class Horizontal.JobComparator
extends java.lang.Object
implements java.util.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(java.lang.Object o1,
java.lang.Object o2)
Compares this object with the specified object for order.
|
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - is the first object to be compared.o2 - is the second object to be compared.java.lang.ClassCastException - if the specified object's type
prevents it from being compared to this Object.