Class ObjectIdDictionary.WeakIdWrapper
java.lang.Object
java.lang.ref.Reference
java.lang.ref.WeakReference
com.thoughtworks.xstream.core.util.ObjectIdDictionary.WeakIdWrapper
- All Implemented Interfaces:
ObjectIdDictionary.Wrapper
- Enclosing class:
ObjectIdDictionary
private class ObjectIdDictionary.WeakIdWrapper
extends WeakReference
implements ObjectIdDictionary.Wrapper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.thoughtworks.xstream.core.util.ObjectIdDictionary.Wrapper
get
-
Field Details
-
hashCode
private final int hashCode
-
-
Constructor Details
-
WeakIdWrapper
-
-
Method Details
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceObjectIdDictionary.Wrapper
- Overrides:
hashCode
in classObject
-
equals
- Specified by:
equals
in interfaceObjectIdDictionary.Wrapper
- Overrides:
equals
in classObject
-
toString
- Specified by:
toString
in interfaceObjectIdDictionary.Wrapper
- Overrides:
toString
in classObject
-