A Comparator
is an object that knows how to compare other objects, whereas an
object implementing Comparable
knows how to compare itself to other objects of
the same type.
Suppress false positives by adding the suppression annotation @SuppressWarnings("ComparableAndComparator")
to the enclosing element.