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

The Comparator Interface: Purpose and Function Signature

Learn what Comparator is, when to use it instead of Comparable, and understand the compare(T o1, T o2) method signature.

This lesson is for subscribers

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