ints(), longs(), doubles() <was> Re: Ranges
tim at peierls.net
Fri May 3 09:06:54 PDT 2013
On Fri, May 3, 2013 at 10:53 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
> On May 3, 2013, at 3:00 PM, Tim Peierls <tim at peierls.net> wrote:
> I've missed something. How will the user see a difference between ints()
> implemented as a closed range vs. a half-open range?
> The closed range will be for all non-negative int values, where as the
> half open will be for all non-negative int values except Integer.MAX_VALUE.
If you were originally asking whether ints() should include MAX_VALUE, then
my answer is yes. *How* its implementation accomplishes this isn't that
important to me, whether as rangeClosed(0, Integer.MAX_VALUE) or something
More information about the lambda-libs-spec-observers