RFR: 8272137: Make Collection and Optional classes streamable

Paul Sandoz psandoz at openjdk.java.net
Mon Aug 16 15:57:27 UTC 2021


On Sun, 15 Aug 2021 01:43:32 GMT, Brian Goetz <briangoetz at openjdk.org> wrote:

> To reiterate: These issues were explored in the JSR 335 EG and it was agreed that this abstraction did not carry its weight. 

Yes, we explored this when the Stream API was being designed. It's hard, if not impossible, to capture all decisions for posterity. In the passing years I don't think anything significantly new has arisen for us to revisit that decision.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5050


More information about the core-libs-dev mailing list