>Replying to my own message... I've just been thinking about this a bit.
>Assuming that the identity hash code isn't used often (probably a safe
>assumption) why not have a list of identity hash codes and (weak)
>references to the objects they refer to?
Whether or not this is a good idea, I think Classpath makes extensive use of
System.identityHashCode. In fact, I think it is the default hashCode()
algorithm in Object. I've also used it as a default hash algorithm in other
classes.
--
Aaron M. Renn ([EMAIL PROTECTED]) http://www.urbanophile.com/arenn/