Course contentsShow
Java
Lesson 1347 of 2,87030. Comparable and ComparatorPro lesson

Reversing a Comparator with reversed()

Learn how Comparator.reversed() creates a new comparator that inverts the ordering of an existing comparator.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.