On Sun, Apr 25, 2010 at 8:43 PM, Ville Voutilainen ville.voutilainen@gmail.com wrote:
I do believe that it's within the CL spec to do EQL to JavaObjects wrapping enums/ints so that the values are inspected, and as java-reference comparison to others. Some JavaObjects are numbers. Some are not.
What's the difference between enums/ints and other values? == works for any object. In fact, enum values under the hood are instances of a class like any other.