code: public static <T, U> Collector<T, ?, Optional<T>> minBy(Function<? super T, ? extends U> function, Comparator<? super U> comparator) {
          return maxBy(function, comparator.reversed());
      }
docs: Get a {@link Collector} that calculates the <code>MIN()</code> function.