equals and hashCode
Aleksey Shipilev
aleksey.shipilev at oracle.com
Tue Oct 30 08:37:09 PDT 2012
On 10/30/2012 05:12 PM, Brian Goetz wrote:
> Yes, but not just equality; identity. Which is the real problem --
> we're still coping with the consequences of having naively decided 17
> years ago that all non-primitive values must have identity. (Work is
> going on in JVM-land to give us a better option.)
Great! Is there a notion in spec that lambdas are not supposed to have
identity, and as such their equals()/hashCode() while available as
default implementations, are meaningless?
-Aleksey.
More information about the lambda-dev
mailing list