Reddy Ramakrishna <[EMAIL PROTECTED]> writes: > > Can somebody explain me how japhar generates hashcode in java.lang.Object ? > I would like to know the algorithm and where in japhar code I can find > the implementation. java.lang.Object simply returns the address of the object, cast to a 32 bit int. this may involve truncating, but that isn't a problem, since it doesn't matter if two objects have the same hashcode -- just that one object always return the same hashcode. xtoph
- Hashcode stuff ... Reddy Ramakrishna
- Re: Hashcode stuff ... toshok
- Re: Hashcode stuff ... toshok
- Re: Hashcode stuff ... Reddy Ramakrishna
- RE: Hashcode stuff ... John Keiser
- Re: Hashcode stuff ... Lee Iverson
- RE: Hashcode stuff ... John Keiser
- Re: Hashcode stuff ... Lee Iverson
- Re: Hashcode stuff ... Reddy Ramakrishna
- Re: Hashcode stuff ... Lee Iverson
- Re: Hashcode stuff ... Jon Zeppieri
