摘要:
``` @Data @AllArgsConstructor public class Student { private String name; private Integer score; private Integer age; } ``` ``` public class StreamTest { /** * flatMap 接收一个流的来源(比如list), 返回一个流 * 将多个流,打 阅读全文
摘要:
```java /** * Returns a {@code Collector} implementing a cascaded "group by" operation * on input elements of type {@code T}, grouping elements according to a * classification function, and then perfo 阅读全文
摘要:
```java package java.util.stream; import java.util.Collections; import java.util.EnumSet; import java.util.Objects; import java.util.Set; import java.util.function.BiConsumer; import java.util.functio 阅读全文