aspose file tools*
The moose likes Java in General and the fly likes Overriding equals() and hashcode() Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Overriding equals() and hashcode()" Watch "Overriding equals() and hashcode()" New topic
Author

Overriding equals() and hashcode()

Alexander Sales
Ranch Hand

Joined: Feb 21, 2011
Posts: 89

do you override equals and hashcodes manually? or do use eclipse auto generated overriding of equals and hashcodes? which is more efficient?


OCPJP 6, OCEWCD Java EE 6
Mike Simmons
Ranch Hand

Joined: Mar 05, 2008
Posts: 2969
    
    9
I use Pojomatic.
Alexander Sales
Ranch Hand

Joined: Feb 21, 2011
Posts: 89

cool Mike!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Overriding equals() and hashcode()
 
Similar Threads
HashCodes
Inquisition qustion regarding equals() and hashCode()
HashMap and hashCode method
equals and hash code relation.
Hashcode and equals contract - K&B Mock