Stream + BaseStream
Paul Sandoz
paul.sandoz at oracle.com
Tue Dec 17 03:34:07 PST 2013
On Dec 17, 2013, at 11:41 AM, Kasper Nielsen <kasperni at gmail.com> wrote:
> Sorry didn't make myself clear.
>
Ah, i see now, thanks. Yes, that could improve things, but still one may run into issues when chaining operations.
I am partly inclined to leave things as they are since it makes it more difficult to use Stream as a raw type :-) although that does seem a little mean.
Paul.
> What I was hinting at, was covariant overrides of onClose(), parallel(),
> sequential(), unordered() in Stream such as
>
> Stream.java
>
> /** {@inheritDoc} */
>
> Stream<T> unordered();
>
> /** {@inheritDoc} */
>
> Stream<T> parallel();
> .....
>
More information about the lambda-libs-spec-observers
mailing list