aspose file tools*
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 Spring in Action this week in the Spring 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: 39425
    
  28
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: 39425
    
  28
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?