> On 3 Sep 2016, at 15:06, Stefan Zobel <splitera...@gmail.com> wrote:
> 
> Hi Paul,
> 
> there's a small copy & paste error in the code samples in
> Double/Int/LongStream#iterate()
> 
> Example DoubleStream#iterate:
> 
>     * <pre>{@code
>     *     for (T index=seed; hasNext.test(index); index = next.apply(index)) {
>     *         ...
>     *     }
>     * }</pre>
> 
> That should be
> 
>     *     for (double index=seed; hasNext.test(index); index =
> next.applyAsDouble(index)) {
> 
> 
> Same for Int/LongStream#iterate()
> 

Thanks, well spotted, fixed in place.

When can we have generics over primitives? :-)

Paul.

Reply via email to