j.u.Objects follow-up: deepEquals(Object, Object)?
crazybob at crazybob.org
Tue Oct 13 23:48:53 UTC 2009
On Mon, Oct 12, 2009 at 10:40 AM, Joseph D. Darcy <Joe.Darcy at sun.com> wrote:
> I think Objects is a better home for deepEquals(Object, Object) than Arrays
> since the arguments are not arrays and since it is a sibling method to
> equals(Object, Object).
While the argument types are Object, the behavior and usage is tightly
coupled to arrays. It took me awhile to grok what this method does, even
after looking at the impl. I think I would have caught on a little faster if
the method were in Arrays.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the core-libs-dev