摘要: 需要初始化一个常量HashMap,并希望在一行语句中完成。避免像这样的事情: hashMap.put("One", new Integer(1)); // adding value into HashMap hashMap.put("Two", new Integer(2)); hashMap.pu 阅读全文
posted @ 2023-02-08 11:21 super_龙 阅读(584) 评论(0) 推荐(0) 编辑