Class should not implement both `Comparable` and `Comparator`
Comparator is a state-ful instance that provides a compare function between other objects, whereas an instance that implements
Comparable must be compared to another object type.
Suppress false positives by adding an
@SuppressWarnings("ComparableAndComparator") annotation to the enclosing element.