public static <T, U> Collector<T, ?, Seq<U>> maxAll(Function<? super T, ? extends U> function, Comparator<? super U> comparator) {
        return collectingAndThen(maxAllBy(function, comparator), t -> t.map(function));
    }
public static < T , U > Collector < T , ? , Seq < U > > maxAll ( Function < ? super T , ? extends U > function , Comparator < ? super U > comparator ) { return collectingAndThen ( maxAllBy ( function , comparator ) , t -> t . map ( function ) ) ; }
Get a {@link Collector} that calculates the <code>MAX()</code> function, producing multiple results.