...
The implementor must ensure sgn(x.compareTo)
== -sgn(y.compareTo )
for all x and y. (This implies that x.compareTo must throw an exception iff y.compareTo throws an exception.)
...
...
The implementor must ensure sgn(x.compareTo)
== -sgn(y.compareTo )
for all x and y. (This implies that x.compareTo must throw an exception iff y.compareTo throws an exception.)
...