Java 8 In Action (Paperback)
Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
- 出版商: Manning
- 出版日期: 2014-08-28
- 售價: $1,870
- 貴賓價: 9.5 折 $1,777
- 語言: 英文
- 頁數: 424
- 裝訂: Paperback
- ISBN: 1617291994
- ISBN-13: 9781617291999
-
相關分類:
Java 程式語言
-
相關翻譯:
Java 8 實戰 (Java 8 In Action) (簡中版)
-
其他版本:
Modern Java in Action: Lambda, streams, functional and reactive programming, 2/e
買這商品的人也買了...
-
$1,800$1,710 -
$2,140$2,033 -
$1,140Effective Java, 2/e (Paperback)
-
$800$632 -
$1,650$1,568 -
$480$379 -
$2,363Programming Python, 4/e (Paperback)
-
$450$356 -
$550$435 -
$1,480$1,406 -
$1,810$1,720 -
$788Functional Programming in Scala (Paperback)
-
$580$458 -
$1,368$1,296 -
$420$328 -
$620$490 -
$360$252 -
$400$316 -
$480$379 -
$480$379 -
$530$419 -
$980$882 -
$1,750$1,663 -
$590$502 -
$1,620$1,539
相關主題
商品描述
Summary
Java 8 in Action is a clearly written guide to the new features of Java 8. The book covers lambdas, streams, and functional-style programming. With Java 8's functional features you can now write more concise code in less time, and also automatically benefit from multicore architectures. It's time to dig in!
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Book
Every new version of Java is important, but Java 8 is a game changer. Java 8 in Action is a clearly written guide to the new features of Java 8. It begins with a practical introduction to lambdas, using real-world Java code. Next, it covers the new Streams API and shows how you can use it to make collection-based code radically easier to understand and maintain. It also explains other major Java 8 features including default methods, Optional, CompletableFuture, and the new Date and Time API.
This book is written for programmers familiar with Java and basic OO programming.
What's Inside
- How to use Java 8's powerful new features
- Writing effective multicore-ready applications
- Refactoring, testing, and debugging
- Adopting functional-style programming
- Quizzes and quick-check questions
About the Authors
Raoul-Gabriel Urma is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. Mario Fusco is an engineer at Red Hat and creator of the lambdaj library. Alan Mycroft is a professor at Cambridge and cofounder of the Raspberry Pi Foundation.
Table of Contents
PART 1 FUNDAMENTALS
PART 2 FUNCTIONAL-STYLE DATA PROCESSING
PART 4 BEYOND JAVA 8
APPENDIXES
- Java 8: why should you care?
- Passing code with behavior parameterization
- Lambda expressions
- Introducing streams
- Working with streams
- Collecting data with streams
- Parallel data processing and performance
PART 3 EFFECTIVE JAVA 8 PROGRAMMING
- Refactoring, testing, and debugging
- Default methods
- Using Optional as a better alternative to null
- CompletableFuture: composable asynchronousprogramming
- New Date and Time API
- Thinking functionally
- Functional programming techniques
- Blending OOP and FP: comparing Java 8 and Scala
- Conclusions and where next for Java
- Miscellaneous language updates
- Miscellaneous library updates
- Performing multiple operations in parallelon a stream
- Lambdas and JVM bytecode
商品描述(中文翻譯)
摘要
Java 8 in Action 是一本清晰易懂的指南,介紹了 Java 8 的新功能。本書涵蓋了 lambda、stream 和函數式編程。憑藉 Java 8 的函數式特性,您現在可以以更簡潔的代碼在更短的時間內編寫程式,同時還能自動受益於多核架構。現在是深入研究的時候了!
購買印刷版書籍將包含 Manning Publications 提供的 PDF、Kindle 和 ePub 格式的免費電子書。
關於本書
每個新版本的 Java 都很重要,但 Java 8 是一個改變遊戲規則的版本。《Java 8 in Action》是一本清晰易懂的指南,介紹了 Java 8 的新功能。它從實用的 lambda 入門開始,使用真實世界的 Java 代碼。接下來,它介紹了新的 Streams API,並展示了如何使用它使基於集合的代碼變得更容易理解和維護。它還解釋了其他主要的 Java 8 功能,包括默認方法、Optional、CompletableFuture 和新的日期和時間 API。
本書適合熟悉 Java 和基本面向對象編程的程序員閱讀。
內容簡介
- 如何使用 Java 8 強大的新功能
- 編寫有效的多核應用程序
- 重構、測試和調試
- 採用函數式編程
- 測驗和快速檢查問題
關於作者
Raoul-Gabriel Urma 是一位軟體工程師、演講者、培訓師,也是劍橋大學的博士候選人。 Mario Fusco 是紅帽公司的工程師,也是 lambdaj 库的創建者。 Alan Mycroft 是劍橋大學的教授,也是樹莓派基金會的共同創辦人。
目錄
第一部分 基礎知識
第二部分 函數式數據處理
第四部分 超越 Java 8
附錄
- Java 8:為什麼你應該關注它?
- 通過行為參數化傳遞代碼
- lambda 表達式
- 介紹 Streams
- 使用 Streams 工作
- 使用 Streams 收集數據
- 並行數據處理和性能
第三部分 有效的 Java 8 編程
- 重構、測試和調試
- 默認方法
- 使用 Optional 作為更好的 null 替代方案
- CompletableFuture:可組合的異步編程
- 新的日期和時間 API
- 思考函數式編程
- 函數式編程技巧
- 混合面向對象和函數式編程:比較 Java 8 和 Scala
- 結論和 Java 的未來
- 其他語言更新
- 其他庫更新
- 在流上並行執行多個操作
- Lambdas 和 JVM 字節碼