Map集合的遍历

********************************遍历map****************************************
//List<Map<String, String>> list = orderInfoService.listCDInfo(null,ParameterUtil.builderQuery(
// new ParameterInfo[] {new ParameterInfo("var1.boolinfo", LogicUtil.EQ,"t")}));
//for(int i = 0;i<list.size();i++)
//{
// Map<String, String> map = list.get(i);
// Collection<String> c = map.keySet();
// Iterator it = c.iterator();
// String each = null;
// while(it.hasNext())
// {
// each = (String)it.next();
// if("orderid".equals(each))
// {
// for(VarInfo v:listmx)
// {  
// System.out.println("v="+v.getIntegerInfo());
// if(v.getIntegerInfo()!=Common.getInteger(map.get(each)))
// {
// System.out.println("orederid="+map.get(each));
// }
//      
// }
// }
//
// }
//}

猜你喜欢

转载自cm1993.iteye.com/blog/2227375