RFR 8015798: Rename IntStream.longs/doubles and LongStream.doubles to asXxxStream

Alan Bateman Alan.Bateman at oracle.com
Tue Jun 4 05:52:05 UTC 2013


On 03/06/2013 17:03, Paul Sandoz wrote:
> Hi,
>
> The following patch renames the methods IntStream.longs/doubles/LongStream.doubles, as decided by the JSR-335 EG which agreed the new names better convey transformation to another type of primitive stream:
>
>    http://cr.openjdk.java.net/~psandoz/tl/JDK-8015798-asXxxStream/webrev/
>
>    IntStream.longs ->  asLongStream
>    IntStream.doubles ->  asDoubleStream
>    LongStream.doubles ->  asDoubleStream
>
> Paul.
Looks good to me.

-Alan



More information about the core-libs-dev mailing list