Class should not implement both `Comparable` and `Comparator`
- Has Fix?
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 the suppression annotation
@SuppressWarnings("ComparableAndComparator") to the enclosing element.