Consider the data type Temp defined below.
public class Temp implements Comparable<Temp> {
private final double deg;
public Temp(double deg) {
this.deg = deg;
}
public int compareTo(Temp that) {
double EPS = 0.1;
if (this.deg < that.deg - EPS)
return -1;
if (this.deg > that.deg + EPS)
return +1;
return 0;
}
}
Which of the following required properties of the Comparable interface does the compareTo() method violate?