aspose file tools*
The moose likes Java in General and the fly likes What is 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
Reply locked New topic
Author

What is hashCode?

Hemant Agarwal
Ranch Hand

Joined: Nov 21, 2005
Posts: 138
What is hashCode?
What is the difference between hashCode and equals methods. What is the need for of them? Where to use them?

Thanks
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Please see the recent conversation.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

Rather than move this to JiG (beginner), where it belongs, I'm just going to close it in deference to the linked-to thread.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What is hashCode?
 
Similar Threads
basicjava
HashSet and LinkrdHashSet
Hashcode
what is hashcode and equals contract?
hash code