文件名称:Mastering Lambdas Java Programming in a Multicore World
文件大小:7.11MB
文件格式:MOBI
更新时间:2018-01-02 07:10:46
Lambda Java8 Multicore
he Definitive Guide to Lambda Expressions Mastering Lambdas: Java Programming in a Multicore World describes how the lambda-related features of Java SE 8 will enable Java to meet the challenges of next-generation parallel hardware architectures. The bookexplains how to write lambdas, and how to use them in streams and in collection processing, providing code examples throughout. You'll learn how to use lambda expressions to take full advantage of performanceimprovements provided by today's multicore hardware. This Oracle Press book covers: Why lambdas were needed, and how they will change Javaprogramming Syntax of lambda expressions The basic operation of streams and pipelines Using collectors and reduction to end pipelines Creating streams Spliterators, the fork/join framework, and exceptions Examining stream performance with microbenchmarking API evolution using default methods