Map<String, ? extends MyClass> map;//instantiate and put values somewhere
Map<String, MyClass> map2; //instantiate and put values somewhere.
Given the maps above, how to transfer from map to map2, and from map2 to map using putAll(), or achieve the putAll() effect?
If I know the Class is InstanceClass, can I somehow cast it to Map<String, InstanceClass>map;?