Re: EO*Qualifier implements equals() but not hashcode()

2014-07-19 Thread Ray Kiddy
On Fri, 18 Jul 2014 16:00:28 -0700 Ramsey Gurley wrote: > Just a note. ERXArrayUtilities.distinct doesn’t work on an array of > EOOrQualifiers because the qualifier classes implement equals without > implementing hashcode. sigh... Just FYI, there is an extremely helpful HashCodeBuilder class tha

Re: EO*Qualifier implements equals() but not hashcode()

2014-07-19 Thread Philippe Rabier
That's very nasty … Philippe ;-) - http://twitter.com/prabier Sent from my iPhone On 19 juil. 2014, at 01:24, Chuck Hill wrote: > That is a favorite interview question. :-) > >> On Jul 18, 2014, at 4:00 PM, "Ramsey Gurley" wrote: >> >> Just a note. ERXArrayUtilities.dist

Re: EO*Qualifier implements equals() but not hashcode()

2014-07-18 Thread Chuck Hill
That is a favorite interview question. :-) > On Jul 18, 2014, at 4:00 PM, "Ramsey Gurley" wrote: > > Just a note. ERXArrayUtilities.distinct doesn’t work on an array of > EOOrQualifiers because the qualifier classes implement equals without > implementing hashcode. sigh... > __

EO*Qualifier implements equals() but not hashcode()

2014-07-18 Thread Ramsey Gurley
Just a note. ERXArrayUtilities.distinct doesn’t work on an array of EOOrQualifiers because the qualifier classes implement equals without implementing hashcode. sigh... ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev ma