org.erights.e.elib.vat
Class BootRefIdentity

java.lang.Object
  |
  +--org.erights.e.elib.vat.BootRefIdentity

class BootRefIdentity
extends Object

Used to represent the identity of a PassByProxy object in the boot-comm-system.

BootRefIdentity must also encapsulate the object whose identity it represents, since it represents *only* that object's indentity.

Author:
Mark S. Miller

Field Summary
private  Object myActual
           
 
Constructor Summary
(package private) BootRefIdentity(Object actual)
           
 
Method Summary
 boolean equals(Object other)
          Only if the other is a BootRefIdentity onto the same (Java ==) object
 int hashCode()
          Based on System.identityHashCode(java.lang.Object)
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myActual

private final Object myActual
Constructor Detail

BootRefIdentity

BootRefIdentity(Object actual)
Method Detail

equals

public boolean equals(Object other)
Only if the other is a BootRefIdentity onto the same (Java ==) object

Overrides:
equals in class Object
Parameters:
other - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.
See Also:
Object.hashCode(), java.util.Hashtable

hashCode

public int hashCode()
Based on System.identityHashCode(java.lang.Object)

Overrides:
hashCode in class Object
Returns:
a hash code value for this object.
See Also:
java.lang.Object#equals(java.lang.Object), java.util.Hashtable


comments?