13,100
社区成员
发帖
与我相关
我的任务
分享
public static void main(String[] args) {
// TODO Auto-generated method stub
List<Map> list1 = new ArrayList<Map>();
Map map = new HashMap();
map.put("name", "123");
list1.add(map);
for(int i =0;i<list1.size();i++){
Map tempMap = (Map)list1.get(i);
tempMap.put("name", tempMap.get("name")+"@@");
}
System.out.println("list1-->" + list1.get(0).get("name"));
}