Iterator<Entry<String,Integer>> it = exsitMap.entrySet().iterator();
while(it.hasNext()){
Entry<String,Integer> entry =it.next();
ActivityDetail a=new ActivityDetail();
a.setActivityType(entry.getValue());
list.add(a);
}
时间: 2024-10-11 00:29:23