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

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

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

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

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