首页
Java
登录
6mi
u
盘
搜
搜 索
Java
map 按key排序
map 按key排序
xiaoxiao
2021-02-28
103
Map<Integer, CustomerConfigTreeVo> dataMap =
new
TreeMap<>(
new
Comparator<Integer>() {
@Override
public int
compare(Integer o1, Integer o2) {
return
o1.compareTo(o2); } } );
转载请注明原文地址: https://www.6miu.com/read-18225.html
技术
最新回复
(
0
)