Code example for LinkedHashMap

0
            return ""; 
        } 
 
        @Override 
        public Map createValue() {
            return new LinkedHashMap();
        } 
 
        @Override 
        protected String setCurrentKey(String oldApiKey, String newApiKey, Object object) {
            oldApiKey = object.toString();
            newApiKey = oldApiKey;
            return oldApiKey;
        } 
 
        @Override 
        protected Map setCurrentValue(Map oldApiValue, Map newApiKey, Object object) {
            Map map = (Map) object;
            if (oldApiValue != null) {
                oldApiValue.clear();
                oldApiValue.putAll(map);