public String getString(final String key, final String def) {
		String val = getString(key);

		if (val == null) {
			if (map.containsKey(key)) {
				return null;
			}
			return def;
		}

		return val;
	}
public String getString(final String key, final String def) {
		String val = getString(key);

		if (val == null) {
			if (map.containsKey(key)) {
				return null;
			}
			return def;
		}

		return val;
	}
public String getString ( final String key , final String def ) { String val = getString ( key ) ; if ( val == null ) { if ( map . containsKey ( key ) ) { return null ; } return def ; } return val ; }
Like {@link #getString(String)} but specifies a default value to return if there is no entry.
Like {