overloads for java.util.RandomAccess
Gernot Neppert
mcnepp02 at googlemail.com
Wed Oct 31 07:03:01 PDT 2012
Thanks, that makes sense to me!
The Streams.stream(List) method should not exist. Instead, we should use
> list.stream() so that the implementation can overload correctly; instanceof
> RandomAccess is a hack. The methods in Streams should be for low-level
> stream construction, not getting a stream from things that are already
> Streamable. These are in need of some refactoring, so stay tuned.
>
>
More information about the lambda-dev
mailing list