Class should not implement both `Comparable` and `Comparator`
Comparator is an object that knows how to compare other objects, whereas an objectimplementing
Comparable knows how to compare itself to other objects of the same type.
Suppress false positives by adding an
@SuppressWarnings("ComparableAndComparator") annotation to the enclosing element.