org.wamblee.general
Class ObjectElem
java.lang.Object
org.wamblee.general.ObjectElem
public class ObjectElem
- extends Object
This class provided an equality operation based on the object reference of
the wrapped object. This is required because we cannto assume that the equals
operation has any meaning for different types of persistent objects. This
allows us to use the standard collection classes for detecting cyclic
dependences and avoiding recursion.
ObjectElem
public ObjectElem(Object aObject)
- Constructs the wrapper.
- Parameters:
aObject - Object.
equals
public boolean equals(Object aObj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2011. All Rights Reserved.