Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.fasterxml.jackson.databind.util;
Map used during serialization, to keep track of referable Objects along with lazily evaluated ids.
public class ObjectIdMap extends IdentityHashMap<Object,Object>
    public ObjectIdMap()
    /* API

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.
    public Object findId(Object pojo)
        return get(pojo);
    public void insertId(Object pojoObject id)
New to GrepCode? Check out our FAQ X