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

Authors
Shenghui (Samuel) Gu
(he/him)
Postdoctoral Researcher
Postdoctoral Researcher at the University of Ottawa specializing in Trustworthy AI and Software Engineering, holding a Ph.D. from Nanjing University.
Research lies at the intersection of AI Safety and System Reliability, with deep expertise spanning LLM-driven testing, search-based software engineering for autonomous systems, and AIOps for distributed architectures.
Dedicated to developing rigorous, interpretable, and scalable methodologies that leverage generative AI to solve complex validation challenges in safety-critical and large-scale industrial systems.