aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Hashcode tutorial/Primer Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply Bookmark "Hashcode tutorial/Primer" Watch "Hashcode tutorial/Primer" New topic
Author

Hashcode tutorial/Primer

ed de jongh
Greenhorn

Joined: Nov 27, 2002
Posts: 6
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

Joined: Aug 14, 2002
Posts: 279
My advice, read the hashCode() API documentation.


Alfred Raouf - Egypt - SCJP 1.4<br />Kemety.equals(Egyptian) // returns true
ed de jongh
Greenhorn

Joined: Nov 27, 2002
Posts: 6
Thanks Alf
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
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 ]

SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
ed de jongh
Greenhorn

Joined: Nov 27, 2002
Posts: 6
Thanks Valentin
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Hashcode tutorial/Primer
 
Similar Threads
need help with the space-time continium
equals() and hashCode()
String to int
Why override equals() method ?
Why is this not running as expected?