在实际开发中自己常运用到Map集合在开发中自己运用到 Map<StringString> map=new HashMap<StringString>() 遍历 Java代码 Set<String> key = mapkeySet() Iterator<String> it = erator() while (ithasNext()) { String keyV = (String) itnext() String vb = mapget(keyV) if (keyVequals(dd)) { itemjin = vb; break; } } Set<String> key = mapkeySet() Iterator<String> it = erator() while (ithasNext()) { String keyV = (String) itnext() String vb = mapget(keyV) if (keyVequals(dd)) { itemjin = vb; break; } } |