snapshotMap.put(key, cm.get(key));
public String getProperty(String property) { return (String) getRootMap().get(property); }
/** * Perform a look up for the given key on the child map, and if not found then perform the look up on the parent map. * * @param key * @return */ public Object get(Object key) { Object lv = getLocally(key); if (lv != null) return lv; else if (parent != null) return parent.get(key); return null; }