equal
deleted
inserted
replaced
655 * @param collector the {@code Collector} describing the reduction |
655 * @param collector the {@code Collector} describing the reduction |
656 * @return the result of the reduction |
656 * @return the result of the reduction |
657 * @see #collect(Supplier, BiConsumer, BiConsumer) |
657 * @see #collect(Supplier, BiConsumer, BiConsumer) |
658 * @see Collectors |
658 * @see Collectors |
659 */ |
659 */ |
660 <R, A> R collect(Collector<? super T, A, ? extends R> collector); |
660 <R, A> R collect(Collector<? super T, A, R> collector); |
661 |
661 |
662 /** |
662 /** |
663 * Returns the minimum element of this stream according to the provided |
663 * Returns the minimum element of this stream according to the provided |
664 * {@code Comparator}. This is a special case of a |
664 * {@code Comparator}. This is a special case of a |
665 * <a href="package-summary.html#MutableReduction">reduction</a>. |
665 * <a href="package-summary.html#MutableReduction">reduction</a>. |