code: public static <T> T max(Iterator<T> self, Comparator<T> comparator) {
          return max((Iterable<T>)toList(self), comparator);
      }
docs: Selects the maximum value found from the Iterator using the given comparator.
  
  @param self       an Iterator
  @param comparator a Comparator
  @return the maximum value
  @since 1.5.5