On 16 Jan 2004 13:20, lhotari wrote:
>On 16 Jan 2004 12:07, thorstenschaefer wrote:
>>Hi,
>>The commons-lang package from apache contains builder for equals and
>>hashCode (beside others) which can be used for efficent and straight-
>>forward implementation of these methods.
>http://commonclipse.sourceforge.net/ is an eclipse plugin that generates
>code for commons-lang builders.
This issue has nothing to do with *how* you build the methods, and
everything to do with *which properties you use* to build the methods.
Hence, commons-lang can't help with the fundamental issue of defining
your identity fields (which can't be either plain old Java identity, nor
plain old persistent identity!). |