Java 8 Stream 语法

Jul 14, 2018·
Shenghui (Samuel) Gu
Shenghui (Samuel) Gu
· 1 min read
posts

Java 8 的一个重要新特性就是 Stream。 Stream 是用函数式编程方式在集合类上进行复杂操作的工具,其集成了 Java 8 中的众多新特性之一的聚合操作,开发者可以更容易地使用 Lambda 表达式,并且更方便地实现对集合的查找、遍历、过滤以及常见计算等。

学习资料

Shenghui (Samuel) Gu
Authors
Researcher in Trustworthy AI and Software Engineering
I build methods for testing, validating, and improving trustworthy AI-enabled software systems. My research lies at the intersection of Software Engineering, AI Safety, and System Reliability, spanning LLM-driven testing, search-based software engineering for autonomous systems, and AIOps for distributed architectures. A central theme of my work is to make generative AI useful, interpretable, and dependable for solving complex validation problems in safety-critical and large-scale industrial systems.