Compares the two specified objects to determine their relative ordering. The ordering implied by the return value of this method for all possible pairs of (object1, object2) should form an equivalence relation . This means that compare(a,a) returns zero for all {@code
(T object1, T object2)
| 53 | * if objects are not of the correct type. |
| 54 | */ |
| 55 | public int compare(T object1, T object2); |
| 56 | |
| 57 | /** |
| 58 | * Compares this {@code Comparator} with the specified {@code Object} and indicates whether they |
no outgoing calls
no test coverage detected