jQuery in Action, 2nd edition*
The moose likes Beginning Java and the fly likes Difference between Hashcode and Equals() method? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Difference between Hashcode and Equals() method?" Watch "Difference between Hashcode and Equals() method?" New topic
Author

Difference between Hashcode and Equals() method?

cool rishi
Greenhorn

Joined: Sep 07, 2009
Posts: 2
Can somone please explain me the difference between hashcode and equals()......
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
First match on google...

http://www.geocities.com/technofundo/tech/java/equalhash.html


JDBCSupport - An easy to use, light-weight JDBC framework -
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37874
    
  22
Welcome to JavaRanch

Please read the important administrative private message which I shall send in a few minutes.

CR
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Also see hashCode() and equals()


http://muhammadkhojaye.blogspot.com/
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37874
    
  22
The best web resource about equals() is probably Angelika Langer's.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between Hashcode and Equals() method?
 
Similar Threads
difference between equals() and == and compareTo()
What is hashCode?
equals() and hashCode()
Difference between hashCode() and equals()
What's the difference between hashcode() and equals() methods?