code: public static <T> T max(final Iterable<T> iterable, Comparator<? super T> comparator) {
  		return IteratorExtensions.max(iterable.iterator(), comparator);
  	}
docs: Finds the maximum element according to <code>comparator</code>. If there are several maxima, the first one will
  be returned.
  
  @param iterable
  the elements to find the maximum of. May not be <code>null</code>.
  @param comparator
  the comparison function. May not be <code>null</code>.
  @return the maximum
  @throws NoSuchElementException
  if the iterable is empty
  @since 2.7