Class ObjectIdDictionary.WeakIdWrapper
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.WeakReference
-
- com.thoughtworks.xstream.core.util.ObjectIdDictionary.WeakIdWrapper
-
- All Implemented Interfaces:
ObjectIdDictionary.Wrapper
- Enclosing class:
- ObjectIdDictionary
private class ObjectIdDictionary.WeakIdWrapper extends java.lang.ref.WeakReference implements ObjectIdDictionary.Wrapper
-
-
Field Summary
Fields Modifier and Type Field Description private int
hashCode
-
Constructor Summary
Constructors Constructor Description WeakIdWrapper(java.lang.Object obj)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence
-
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
-
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceObjectIdDictionary.Wrapper
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Specified by:
equals
in interfaceObjectIdDictionary.Wrapper
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfaceObjectIdDictionary.Wrapper
- Overrides:
toString
in classjava.lang.Object
-
-