Because we already have the method replace that does the same thing
Example
Map<String,String> strMap = new HashMap<String,String>();
strMap.put("Key1","Value1");
strMap.put("Key2", "Value2");
strMap.replace("Key3", "Value3");
* Replace method doesn't throw the exception even if the element with specified Key is not already present in the Map and hence exactly replicate the behavior put If Present.
Example
Map<String,String> strMap = new HashMap<String,String>();
strMap.put("Key1","Value1");
strMap.put("Key2", "Value2");
strMap.replace("Key3", "Value3");
* Replace method doesn't throw the exception even if the element with specified Key is not already present in the Map and hence exactly replicate the behavior put If Present.