• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is hashcode

 
sankar kandasamy
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont know, how the hashcode is calculated for the object?
Can any one help me for this
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Burkhard Hassel
Ranch Hand
Posts: 1274
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy ranchers,

you cannot tell exactly how the hashCode is calculated. It is a native method so it is performed by the JVM and may be different on every System.

Yours,
Bu.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic