public Comparator<T> comparator() {
    if (myComparator != null) {
      return myComparator;
    }
    throw new UnsupportedOperationException("This ordering does not define a comparator.");
  }
public Comparator<T> comparator()