com.thoughtworks.xstream.core.util
Class ObjectIdDictionary
java.lang.Object
com.thoughtworks.xstream.core.util.ObjectIdDictionary
public class ObjectIdDictionary
- extends java.lang.Object
Store IDs against given object references.
Behaves the same way as java.util.IdentityHashMap, but in JDK1.3 as well.
|
Method Summary |
void |
associateId(java.lang.Object obj,
java.lang.Object id)
|
boolean |
containsId(java.lang.Object item)
|
java.lang.Object |
lookupId(java.lang.Object obj)
|
void |
removeId(java.lang.Object item)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectIdDictionary
public ObjectIdDictionary()
associateId
public void associateId(java.lang.Object obj,
java.lang.Object id)
lookupId
public java.lang.Object lookupId(java.lang.Object obj)
containsId
public boolean containsId(java.lang.Object item)
removeId
public void removeId(java.lang.Object item)
Copyright © 2006 null. All Rights Reserved.