public static Map<String, Object> newMap(String key, Object value) {
        final Map<String, Object> result = newMap();
        result.put(key, value);
        return result;
    }
public static Map < String , Object > newMap ( String key , Object value ) { final Map < String , Object > result = newMap ( ) ; result . put ( key , value ) ; return result ; }
Helper function for creating maps and tuning them as necessary.

@param key
A key to add to the map on creation.
@param value
A value to attach to the key in the new map.
@return A new {@link Map} instance.