It is possible to generify java.util.Map. Instances of Map in such cases could be of a specific type. Instances of that type in that case could be only inserted as well read, from that Map.
This Map just can now accept string instances to be as values and Integer instances to be as Keys.
Java Code: This is the code to explain Generic Map
Map<Integer, String> set = new HashMap<Integer, String>;
Accessing a Generic Map
Following code could be used for addition of String to generic