Java SE 8 for the Really Impatient (Paperback)

Cay S. Horstmann

  • 出版商: Addison Wesley
  • 出版日期: 2014-01-24
  • 售價: $1,380
  • 貴賓價: 9.5$1,311
  • 語言: 英文
  • 頁數: 240
  • 裝訂: Paperback
  • ISBN: 0321927761
  • ISBN-13: 9780321927767
  • 相關分類: Java 程式語言
  • 立即出貨(限量) (庫存=1)



Eagerly anticipated by millions of programmers, Java SE 8 is the most important Java update in many years. The addition of lambda expressions (closures) and streams represents the biggest change to Java programming since the introduction of generics and annotations.


Now, with Java SE 8 for the Really Impatient , internationally renowned Java author Cay S. Horstmann concisely introduces Java 8’s most valuable new features (plus a few Java 7 innovations that haven’t gotten the attention they deserve). If you’re an experienced Java programmer, Horstmann’s practical insights and sample code will help you quickly take advantage of these and other Java language and platform improvements. This indispensable guide includes

  • Coverage of using lambda expressions (closures) to write computation “snippets” that can be passed to utility functions
  • The brand-new streams API that makes Java collections far more flexible and efficient
  • Major updates to concurrent programming that make use of lambda expressions (filter/map/reduce) and that provide dramatic performance improvements for shared counters and hash tables
  • A full chapter with advice on how you can put lambda expressions to work in your own programs
  • Coverage of the long-awaited introduction of a well-designed date/time/calendar library (JSR 310)
  • A concise introduction to JavaFX, which is positioned to replace Swing GUIs, and to the Nashorn Javascript engine
  • A thorough discussion of many small library changes that make Java programming more productive and enjoyable

This is the first title to cover all of these highly anticipated improvements and is invaluable for anyone who wants to write tomorrow’s most robust, efficient, and secure Java code. 


數百萬程式設計師熱切期待的 Java SE 8 是多年來最重要的 Java 更新。引入了 lambda 表達式(閉包)和流(streams)的加入,代表著自泛型和註解引入以來 Java 編程最大的改變。

現在,國際知名的 Java 作家 Cay S. Horstmann 簡明扼要地介紹了 Java 8 最有價值的新功能(還包括一些未受到應有關注的 Java 7 創新)。如果你是一位有經驗的 Java 程式設計師,Horstmann 的實用見解和範例程式碼將幫助你快速利用這些以及其他 Java 語言和平台的改進。這本不可或缺的指南包括:

- 使用 lambda 表達式(閉包)編寫可傳遞給實用函數的計算「片段」的相關內容
- 全新的流(streams)API,使 Java 集合更加靈活和高效
- 並行編程的重大更新,利用 lambda 表達式(filter/map/reduce)並為共享計數器和哈希表提供顯著的性能改進
- 一個完整的章節,提供如何在自己的程式中運用 lambda 表達式的建議
- 期待已久的、設計良好的日期/時間/日曆庫(JSR 310)的詳細介紹
- 簡明介紹 JavaFX,它被定位為取代 Swing GUI 的工具,以及 Nashorn JavaScript 引擎
- 對使 Java 編程更具生產力和樂趣的許多小型庫變更的詳細討論

這是第一本涵蓋所有這些備受期待的改進的書籍,對於任何想要撰寫明天最強大、高效和安全的 Java 程式碼的人來說都是無價的。