Java
Java Frameworks
Базы данных
Network
Software Design
Tools
Алгоритмы и структуры данных
Optional<T> reduce(BinaryOperator<T> accumulator)
T reduce(T identity, BinaryOperator<T> accumulator)
U reduce(U identity, BiFunction<U, ? super T, U> accumulator, BinaryOperator<U> combiner)
<R> R collect(Supplier<R> supplier, BiConsumer<R, ? super T> accumulator, BiConsumer<R, R> combiner)
<R,A> R collect(Collector<? super T,A,R> collector)