摘要: Map m1=new HashMap(); m1.put("one", 1); m1.put("two",2); m1.put("three", 3); Set s=m1.keySet(); Iterator it=s.iterator(); while(it.hasNext()){ String s1=it.next(); if("two".equals(s1)){ s.remove(s1... 阅读全文
posted @ 2014-03-10 13:04 xxyyjj 阅读(172) 评论(0) 推荐(0) 编辑