Code example for LinkedHashMap

Methods: put

    public ReadableObjectId findObjectId(Object id,
            ObjectIdGenerator<?> generator)
        final ObjectIdGenerator.IdKey key = generator.key(id);
        if (_objectIds == null) {
            _objectIds = new LinkedHashMap<ObjectIdGenerator.IdKey, ReadableObjectId>();
        } else { 
            ReadableObjectId entry = _objectIds.get(key);
            if (entry != null) {
                return entry;
        ReadableObjectId entry = new ReadableObjectId(id);
        _objectIds.put(key, entry);
        return entry;
    public ObjectIdGenerator<?> objectIdGeneratorInstance(Annotated annotated,
            ObjectIdInfo objectIdInfo)
Connect your IDE to all the code out there  Get Codota for Java