RFR: JDK-8133680 add Stream.foldLeft() terminal operation
forax at univ-mlv.fr
Sun Aug 13 19:45:12 UTC 2017
foldLeft (and foldRight) were intentionally not included in the Stream API because as you know, their semantics is too strong to be useful for parallel streams.
----- Mail original -----
> De: "Tagir Valeev" <amaembo at gmail.com>
> À: "core-libs-dev" <core-libs-dev at openjdk.java.net>
> Envoyé: Dimanche 13 Août 2017 15:27:36
> Objet: RFR: JDK-8133680 add Stream.foldLeft() terminal operation
> Please review the preliminary implementation for Stream foldLeft and
> foldRight operations:
> This implementation has no tests yet. Before writing them I'd like to
> be sure that this enhancement could be accepted in general (or
> probably foldLeft is accepted and foldRight is not?) Could anybody
> sponsor it when it will be complete?
> Thank you in advance!
> Tagir Valeev.
More information about the core-libs-dev