spring iterate

for (String m : myList) {
    myMap.put(m, MyStaticFactory.createObject(m));
}