A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
hashcode() in java
Joined: Sep 27, 2004
Feb 12, 2007 14:30:00
What is the use of the hashcode() in
with respect to entity beans, how is the hashcode() used for?
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Jesper de Jong
Joined: Aug 16, 2005
Feb 13, 2007 02:30:00
Read the Javadoc documentation of the method hashCode() in class Object. It says:
"This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable."
Here are some articles with more information (found in 5 seconds with Google):
Java theory and practice: Hashing it out
HashCodes in a Nutshell
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 8 API documentation
Joined: Apr 14, 2004
Feb 13, 2007 02:47:00
Not an advanced question. Moving...
I agree. Here's the link:
subject: hashcode() in java
Correct implementation of hashcode()
hash code equal method
Detecting Duplicates in Hashmap
need help with the space-time continium
Need Help in hashcodes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014