摘要: 不管存不存在key,都设值:1. putput返回旧值,如果没有则返回null @Test public void testMap() { Map<String, String> map = new HashMap<>(); map.put("a","A"); map.put("b","B"); S 阅读全文
posted @ 2021-03-17 21:23 aspirant 阅读(3087) 评论(0) 推荐(1) 编辑