Hey, On Wed, May 18, 2011 at 8:37 AM, Gary Gregory <garydgreg...@gmail.com> wrote: > The bigger issue in my mind is why a Range does not extend Pair. It's pretty > clear (to me at least) that a range is a pair of values.
Mathematically speaking a Range also has information about whether the high and low bounds are inclusive or exclusive... but commons lang Ranges are always inclusive so I guess it's not concerned with that and can be treated as just a pair. > Because the Pair is in our tuple package, it means that it should follow > tuple logic and be an ordered list of elements, in this case two elements. > > This means that the methods that Range has that are not in Pair could be > moved there. > > Gary Regards, James --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org