reverseOrder

Returns a comparator that imposes the reverse of the natural ordering.

The returned comparator is serializable and throws [ ] when comparing null.

Return

a comparator that imposes the reverse of the natural ordering on Comparable objects.

Since

1.8

Parameters

the [Comparable] type of element to be compared

See also