Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Overriding equals() and hashcode()

 
Alexander Sales
Ranch Hand
Posts: 89
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do you override equals and hashcodes manually? or do use eclipse auto generated overriding of equals and hashcodes? which is more efficient?
 
Mike Simmons
Ranch Hand
Posts: 3078
14
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use Pojomatic.
 
Alexander Sales
Ranch Hand
Posts: 89
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
cool Mike!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic