This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
Naveen R R
Joined: May 04, 2001
Jul 11, 2001 14:10:00
Could someone provide me with an example of hashcode()? I need to get the hashcode for each attribute, sum them and rehash them.
And, how does the equals() fit in here?
Author and all-around good cowpoke
Joined: Mar 22, 2000
Jul 11, 2001 17:12:00
class has a hashCode() method - just call it for the
containing your attribute. Look at the source code for
for an example.
Java 2 Exam Prep
Java 2 (Exam Cram)
Java Developer's Guide to
Java Developer's Guide to E-Commerce with XML and JS
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
equlas() and hashCode()
Hashcode for HashMap not dependent on the hashcode of key added?
What is hashCode?
need help with the space-time continium
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015