摘要: /** * 将localDateTime 转为 date */ public static Date localDateTime2Date(LocalDateTime localDateTime) { ZonedDateTime zonedDateTime = localDateTime.atZon 阅读全文
posted @ 2021-07-05 16:09 哈尔的卡西法 阅读(509) 评论(0) 推荐(0)
摘要: Student s1 = new Student("aa", 10,1); Student s2 = new Student("bb", 20,2); Student s3 = new Student("cc", 10,3); List<Student> list = Arrays.asList(s 阅读全文
posted @ 2021-07-05 11:34 哈尔的卡西法 阅读(168) 评论(0) 推荐(0)
摘要: 二、分类 Stream操作分类 中间操作 无状态 unordered(),filter(),map(),mapToInt(), mapToDouble(),flatMap(),flatMapToInt(), flatMapToLong(),flatMapToDouble,peek() 有状态 dis 阅读全文
posted @ 2021-07-05 10:34 哈尔的卡西法 阅读(104) 评论(0) 推荐(0)