Returns a comparator that imposes the reverse of the natural ordering.
The returned comparator is serializable and throws NullPointerException when comparing null.
<T> | the Comparable type of element to be compared |
Comparable objects.
Comparable
Diagram: Comparator