`
cm1993
  • 浏览: 13011 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

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));
// }
//      
// }
// }
//
// }
//}
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics