摘要: /** * 统计两个时间的时间差 * two-one * 相差几秒几毫秒 */ public static String getDistanceTime(Date date1, Date date2) { Date one; Date two; long day = 0;//天数差 long hou 阅读全文
posted @ 2023-04-03 10:20 酷盖的小机灵 阅读(22) 评论(0) 推荐(0) 编辑
摘要: List<User> userList= new ArrayList<>(); List<User> userMergeList= new ArrayList<>(); userList.parallelStream().collect(Collectors.groupingBy(o -> (o.g 阅读全文
posted @ 2023-04-03 09:09 酷盖的小机灵 阅读(330) 评论(0) 推荐(0) 编辑