java hashmap set value

Java
myMap.put(key, value);
Source

Also in Java: