小编joh*_*ohn的帖子

从地图获取条目集

给出如下地图:

Map<String, Integer> = new Hashmap<String, Integer>;
Run Code Online (Sandbox Code Playgroud)

我怎样才能获得Collection<Integer>entrySet的任何(Collection的任何实现)?做.entrySet()似乎不起作用.

java collections map

3
推荐指数
2
解决办法
1万
查看次数

标签 统计

collections ×1

java ×1

map ×1