class AbstractComparator implements Comparator<T, D> {

  protected boolean checkForInequality(Object left, Object right) {
    if (left == right) {
      return false;
    }
    if (left == null) {
      return true;
    }
    return !left.equals(right);
  }

  public  AbstractComparator(ComparatorRegistry comparatorRegistry, ComparatorType comparatorType);

}