public interface SharedObject
| Modifier and Type | Method and Description |
|---|---|
SharedObject |
duplicate()
This method should ONLY be used by a SharedObjectFactory! Makes a clone of a prototype.
|
boolean |
equivalent(SharedObject o)
This method should ONLY be used by a SharedObjectFactory! Checks whether an object is really
equivalent.
|
int |
hashCode()
This method is typically used by a SharedObjectFactory! Returns the hash code of an object.
|
SharedObject duplicate()
boolean equivalent(SharedObject o)
o - The object to compare toint hashCode()
Copyright © 2012 CWI. All Rights Reserved.