摘要: HashMap源码学习(jdk1.8) HashMap的基本使用 // 创建一个hashmap HashMap<Integer, String> map = new HashMap<>(); // 往hashmap中添加五个元素 map.put(1,"小明"); map.put(2,"小红"); m 阅读全文
posted @ 2022-04-30 15:17 KDking 阅读(36) 评论(0) 推荐(0)