/** * Collect this collectable into 4 {@link Collector}s. */ /// @Generated("This method was generated using jOOQ-tools") default <R1, R2, R3, R4, A1, A2, A3, A4> Tuple4<R1, R2, R3, R4> collect( Collector<? super T, A1, R1> collector1, Collector<? super T, A2, R2> collector2, Collector<? super T, A3, R3> collector3, Collector<? super T, A4, R4> collector4 ) { return collect(Tuple.collectors(collector1, collector2, collector3, collector4)); }
@Override default boolean allMatch(Predicate<? super T> predicate) { return collectable().allMatch(predicate); }
@Override default boolean anyMatch(Predicate<? super T> predicate) { return collectable().anyMatch(predicate); }
/** * Get the maximum value by a function. */ default Optional<T> max(Comparator<? super T> comparator){ return collectors().max(comparator); } /**
/** * Get the minimum value by a function. */ default Optional<T> min(Comparator<? super T> comparator){ return collectors().min(comparator); } /**
@Override default long count(Predicate<? super T> predicate) { return collectable().count(predicate); }
@Override default <U> long countDistinctBy(Function<? super T, ? extends U> function, Predicate<? super U> predicate) { return collectable().countDistinctBy(function, predicate); }
@Override default long countDistinct(Predicate<? super T> predicate) { return collectable().countDistinct(predicate); }
/** * Get the minimum value by a function. */ default <U extends Comparable<? super U>> Optional<T> minBy(Function<? super T, ? extends U> function){ return collectors().minBy(function); } /**
/** * Get the maximum value by a function. */ default <U extends Comparable<? super U>> Optional<T> maxBy(Function<? super T, ? extends U> function){ return collectors().maxBy(function); }
@Override default Optional<T> max() { return collectable().max(); }
@Override default Optional<T> min() { return collectable().min(); }
@Override default long count() { return collectable().count(); }
@Override default <U> long countDistinctBy(Function<? super T, ? extends U> function) { return collectable().countDistinctBy(function); }
@Override default long countDistinct() { return collectable().countDistinct(); }
@Override default <U extends Comparable<? super U>> Optional<T> minBy(Function<? super T, ? extends U> function) { return collectable().minBy(function); }
@Override default <U extends Comparable<? super U>> Optional<T> maxBy(Function<? super T, ? extends U> function) { return collectable().maxBy(function); }
/** * Collect this collectable into 2 {@link Collector}s. */ /// @Generated("This method was generated using jOOQ-tools") default <R1, R2, A1, A2> Tuple2<R1, R2> collect( Collector<? super T, A1, R1> collector1, Collector<? super T, A2, R2> collector2 ) { return collect(Tuple.collectors(collector1, collector2)); }
@Override default <U extends Comparable<? super U>> Optional<U> max(Function<? super T, ? extends U> function) { return collectable().max(function); }
@Override default Optional<T> min(Comparator<? super T> comparator) { return collectable().min(comparator); }