05 2021 档案

摘要:/** * 需要分组的list数据 */ List<User> list = new ArrayList<>(); /** * 将所有的数据根据用户名称进行分组处理 */ Map<String, List<User>> userMap = ListUtil.groupBy(list, new Lis 阅读全文
posted @ 2021-05-19 11:03 卡农的忧伤ろ◆ 阅读(89) 评论(0) 推荐(0) 编辑
摘要:public static <T> List<T> deepCopy(List<T> src) throws IOException, ClassNotFoundException { ByteArrayOutputStream byteOut = new ByteArrayOutputStream 阅读全文
posted @ 2021-05-19 10:54 卡农的忧伤ろ◆ 阅读(88) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示