摘要: List转Map list转map(mapKey=id,mapValue = 对象本身) // List<XxxObject> xxxList = new ArrayList<>(); //XxxObject中有id和name字段 Map<String, XxxObject> xxxMap0 = x 阅读全文
posted @ 2021-12-28 10:29 JaminX86 阅读(899) 评论(0) 推荐(0) 编辑