【发布时间】:2014-03-16 15:44:53
【问题描述】:
如何从 `Map 中提取整数数组的长度?
Map <Integer, ArrayList<Integer>> res = function() ;
for (Map.Entry entry : res.entrySet()) {
System.out.println(entry.getValue());
}
执行System.out.println(entry.getValue().size()); 不起作用。
【问题讨论】: