map 按key排序

xiaoxiao2021-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)