java8 hashMap排序的新认识

public static void main(String[] args) { // 建立map Map<String, Integer> maps = new HashMap<String, Integer>(); maps.put("12", 12); maps.put("11", 11); maps.put("2", 2); // 输出 初始化后的map map
相关文章
相关标签/搜索