Class ObjectIdDictionary
java.lang.Object
com.thoughtworks.xstream.core.util.ObjectIdDictionary
Store IDs against given object references.
Behaves similar to java.util.IdentityHashMap, but in JDK1.3 as well. Additionally the implementation keeps track of orphaned IDs by using a WeakReference to store the reference object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
private class
private static interface
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
map
-
queue
-
-
Constructor Details
-
ObjectIdDictionary
public ObjectIdDictionary()
-
-
Method Details
-
associateId
-
lookupId
-
containsId
-
removeId
-
size
public int size() -
cleanup
private void cleanup()
-