• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hashcode tutorial/Primer

 
ed de jongh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I would like to know what the three rules (as per (Don) of hashcode are etc. Any pointers to tutorials etc would b gr8
ed
 
Alfred Kemety
Ranch Hand
Posts: 279
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My advice, read the hashCode() API documentation.
 
ed de jongh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Alf
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ed,
Welcome to Javaranch, a friendly place for Java greenhorns
Please find below a link to a discussion about hashcodes:
http://www.coderanch.com/t/239767/java-programmer-SCJP/certification/hashCode
Also check out the excellent article by Manish Hatwalne:
Equals And Hash Code by Manish Hatwalne

We ain't got many rules 'round these parts, but we do got one. Please change your displayed name to comply with the JavaRanch Naming Policy.
Thanks Pardner! Hope to see you 'round the Ranch!
[ November 27, 2002: Message edited by: Valentin Crettaz ]
 
ed de jongh
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Valentin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic