public Object get(Object key) {
        Object value = localValues.get(key);
        if (value == null && defaults != null)
            return defaults.get(key);
        return value;
    }
public Object get(Object key) {
        Object value = localValues.get(key);
        if (value == null && defaults != null)
            return defaults.get(key);
        return value;
    }
public Object get ( Object key ) { Object value = localValues . get ( key ) ; if ( value == null && defaults != null ) return defaults . get ( key ) ; return value ; }
Return the value for the given key.

@param key the key to look up
@return the value for the key or null if none.
Return the value for the given key .