文件名称:Java Lambdas and Parallel Streams
文件大小:2.4MB
文件格式:PDF
更新时间:2022-01-19 09:18:39
Java Lambdas Parallel
Lambdas and (Parallel) Streams Some of the new features introduced in Java 8, such as the new Date and Time API (application program interfaces), feel quite familiar and can be used immediately by an experienced Java developer. But some of the most important enhancements, including Lambdas and Streams, require the developer to learn some new concepts. Lambda statements in particular introduce a syntax that is quite unusual for object-oriented programmers. These language constructs are known only to developers who used functional programming languages or enhancements like Microsoft’s Linq (Language Integrated Query). This special syntax takes some getting used to, and some developers may even be a little frightened at first glance. However, these enhancements are extremely powerful, and it is certainly worth taking the time to understand how they can help you to write code that is not only concise but also faster to write and more reusable.