-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Java Streams #4926
Comments
I've had a look at the Of course, we will not be able to offer parallel streams. This means, we should probably not even define all the parallel methods. There is the (unfortunate) nuisance that the methods on @sjrd, what am I missing? :) |
Note on Collection#parallelStream.
So just ignoring request for parallelism might be just fine. |
I had another look and I cannot find anything that is a total deal-breaker. The The fact that
It does have an Implementation Requirements section that says that the default implementation returns a parallel stream, so I think it is still off-limits. |
Fair enough. Feels to me like we definitely want something like this to implement streams, but at least for starters, it can be private to the javalib without the
True. But I guess we agree that providing streams simply for usage is worth it in its own right at least as a first step?
True :-/ In any case, do you agree that based on this, we should re-open #4925? |
Yes, it's probably viable for usage-only at first.
Reopened. |
Following up from
#4925 (comment)_
IMHO Java streams are sufficiently important that if we cannot support them, we should at the very least formally document that (and why).
The text was updated successfully, but these errors were encountered: