| Key for an object registry, held in a hashtable. This is a weak key that
knows to clean up the hashtable it's in when it is collected. It also
has an efficiency issue: it's equivalent to the remote object it
refers to for hashing purposes. That means you can search for the
referred-to object in the hashtable, without wrapping it in a
RegistryKey instance.
It's important to note that two keys are equivalent only if the Remote
object to which they refer are identical. Two remote objects
that are != but are .equals() should not be treated as the same
object!
|