内容提要:
The 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 book explains 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 performance improvements provided by today’s multicore hardware. This Oracle Press book covers:
- Why lambdas were needed, and how they will change Java programming
- 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
ISBN:0071829628
年份:2014
总页数:208
语言:English
文件大小:11.98 MB
文件格式:PDF
下载:关注本站公众号(右侧二维码),在 个性化-联系客服 中输入本文链接可获取文件下载链接。