On Tue, 4 Jul 2000, Diego Pons wrote:
> Mo DeJong wrote:
>
> > I am using a "standard hashtable". I need to map a UID string to a
> > single Object, without a UID provided by the identityHashCode(),
> > I am going to have a hard time doing that.
> >
>
> Am I missing the point? Hash codes (the result of a hash function) need not be
>
> different for different entities, hence the bucket concept.
My reading the docs seemed to indicate the the System.identityHashCode()
method would return a unique id for every object. That seemed to work
in JDK 1.1 but in JDK 1.2 is no longer works. I guess I will just have
to come up with a new implementation. Lets let this thread RIP, sorry
for wasting everybody's time.
Mo DeJong
Red Hat Inc
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]