キーを反復処理しながら、エントリの更新をどのように達成しますか
Map<String,List<SObject>> Map1=new HashMap<String,List<SObject>>();
Map<String,List<SObject>> Map2=new HashMap<String,List<SObject>>();
for(String name: Map1.keyset()){
//do something
for(SObject obj1: Map1.get(name)){
//iterate through the list of SObjects returned for the key
for(SObject obj2 : Map2.get(name)){
//iterate through the list of SObject values for the keys and update or remove the values related to the key
}
}
}