sum of numbers using Primitives range

Ricky Clarkson ricky.clarkson at gmail.com
Wed Dec 12 04:08:12 PST 2012


I'd suggest rangeInclusive(int from, int to) and rangeExcludesEnd(int from,
int until).
On Dec 12, 2012 8:32 AM, "Sergey Kuksenko" <sergey.kuksenko at oracle.com>
wrote:

> >   public static IntStream range(final int startInclusive, final int
> endExclusive)
> >
> So, there is no way to get IntStream from zero to and including
> Integer.MAX_VALUE.
>
>
> --
> Best regards,
> Sergey Kuksenko
>
>


More information about the lambda-dev mailing list