public class ObjectIdMap
extends java.util.IdentityHashMap<java.lang.Object,java.lang.Object>
Constructor and Description |
---|
ObjectIdMap() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
findId(java.lang.Object pojo)
Method that is called to figure out whether we have already
seen given POJO: if yes, we will return its id (first looking
it up as necessary); if not, we will mark down that we have
seen it but return null.
|
void |
insertId(java.lang.Object pojo,
java.lang.Object id) |
clear, clone, containsKey, containsValue, entrySet, equals, forEach, get, hashCode, isEmpty, keySet, put, putAll, remove, replaceAll, size, values
public java.lang.Object findId(java.lang.Object pojo)
public void insertId(java.lang.Object pojo, java.lang.Object id)