Java 8 in Action

豆瓣
Java 8 in Action

登录后可管理标记收藏。

ISBN: 9781617291999
作者: Raoul-Gabriel Urma / Mario Fusco / Alan Mycroft
出版社: Manning Publications
发行时间: 2014 -8
装订: Paperback
价格: USD 49.99
页数: 424

/ 10

0 个评分

评分人数不足
借阅或购买

Lambdas, Streams, and functional-style programming

Raoul-Gabriel Urma / Mario Fusco   

简介

While the term "lambda expression" may sound abstract and academic, Java 8 Lambdas can have a big impact on how you program every day. In simplest terms, a lambda expression is a function—a bit of code—that you can pass to another method as an argument. Thus, you can cope with changing requirements by using a behavior, represented by a lambda, as a parameter. Java 8's functional programming features, like lambdas and the new Stream API that enables a cleaner way to iterate through collections, can help you write concise, maintainable code that scales easily and performs well on multicore architectures.
Java 8 in Action is a clearly-written guide to Java 8 lambdas and functional programming in Java. It begins with a practical introduction to the structure and benefits of lambda expressions in real-world Java code. The book then introduces the Stream API and shows how it can make collections-related code radically easier to understand and maintain. Along the way, you'll discover new FP-oriented design patterns with Java 8 for code reuse, code readability, exception handling, data manipulation, and concurrency. For developers also exploring other functional languages on the JVM, the book concludes with a quick survey of useful functional features in Scala.

contents

Table of Contents
PART I: FUNDAMENTALS
1 Java 8: why should you care? - FREE
2 Passing code with behavior parameterization - AVAILABLE
3 Lambda expressions - AVAILABLE
PART II: FUNCTIONAL-STYLE DATA PROCESSING
4 Processing data with streams - AVAILABLE
5 Collecting data with streams - AVAILABLE
6 Parallel data processing and performance - AVAILABLE
PART III: EFFECTIVE JAVA 8 PROGRAMMING
7 Refactoring, testing, debugging - AVAILABLE
8 Default methods - AVAILABLE
9 Optional: a better alternative to null - AVAILABLE
10 CompletableFuture: composable asynchronous programming - AVAILABLE
11 New Date and Time API - AVAILABLE
PART IV: BEYOND JAVA 8
12 Thinking functionally - AVAILABLE
13 Functional programming techniques - AVAILABLE
14 Blending OOP and FP: comparing Java 8 and Scala - AVAILABLE
15 Conclusions and "where next" for Java - FREE
APPENDICES:
A Miscellaneous language updates - AVAILABLE
B Miscellaneous library updates - AVAILABLE
C Performing multiple operations in parallel on a Stream - AVAILABLE
D Lambdas and bytecode - AVAILABLE

其它版本
短评
评论