Stores information about an address in a program.
-
Constructor Summary
Constructors
Construct a address proxy
-
Method Summary
boolean
Returns true if the proxy object of this class contains the given address.
Returns the object that this proxy represents or null if the object no longer exists.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AddressProxy
Construct a address proxy
- Parameters:
model
- the model
addr
- the address to proxy
-
Method Details
-
getObject
Returns the object that this proxy represents or null if the object no longer exists.
- Specified by:
getObject
in class ProxyObj<Address>
- Returns:
- the object that this proxy represents or null if the object no longer exists.
-
contains
Returns true if the proxy object of this class contains the given address.
- Specified by:
contains
in class ProxyObj<Address>
- Parameters:
a
- the address
- Returns:
- true if the proxy object of this class contains the given address.