A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Programmer Certification (SCJP/OCPJP)
what is hashcode
Joined: Sep 13, 2007
Sep 14, 2007 00:11:00
I dont know, how the hashcode is calculated for the object?
Can any one help me for this
Jesper de Jong
Joined: Aug 16, 2005
Sep 14, 2007 00:42:00
What exactly do you want to know; how the hashCode() method in class Object calculates hashcodes? You can find the answer to that question in the API documentation of class Object.
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 8 API documentation
Joined: Aug 25, 2006
Sep 14, 2007 09:33:00
you cannot tell exactly how the hashCode is calculated. It is a
method so it is performed by the JVM and may be different on every System.
I agree. Here's the link:
subject: what is hashcode
need help with the space-time continium
what is hashcode and equals contract?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015