Java 9 with JShell
暫譯: Java 9 與 JShell
Gaston C. Hillar
- 出版商: Packt Publishing
- 出版日期: 2017-03-29
- 定價: $1,980
- 售價: 6.0 折 $1,188
- 語言: 英文
- 頁數: 408
- 裝訂: Paperback
- ISBN: 1787282848
- ISBN-13: 9781787282841
-
相關分類:
Java 程式語言
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$620$489 -
$602果殼中的 C#-C# 5.0 權威指南 (C# 5.0 in a Nutshell: The Definitive Reference, 5/e)
-
$360$252 -
$780$616 -
$360$284 -
$860$731 -
$2,550$2,423 -
$350$315 -
$400$316 -
$580$458 -
$780$616 -
$2,185Windows Internals, Part 1 : System architecture, processes, threads, memory management, and more, 7/e (Paperback)
-
$352Angular 從零到一
-
$560$437 -
$320$250 -
$550$468 -
$250從1開始:數據分析師成長之路
-
$780$616 -
$360$306 -
$790$616 -
$354$336 -
$380$296 -
$450$356 -
$530$419 -
$590$460
相關主題
商品描述
Key Features
- A full account of Java 9's new features
- This tutorial emphasises fluency using JShell exercises
- Get a thorough introduction to contract programming code reuse via Java generics
- Learn how to use the new module system
- How to use proper functional programming style inside Java 9
Book Description
The release of Java 9 has brought many subtle and not-so-subtle changes to the way in which Java programmers approach their code. The most important ones are definitely the availability of a REPL, known as JShell, which will make experiments and prototyping much more straightforward than the old IDE-based project-led approach. Another, more subtle change can be seen in the module system, which will lead to more modularized, maintainable code. The techniques to take full advantage of object-oriented code, functional programming and the new modularity features in Java 9 form the main subjects of this book.
Each chapter will add to the full picture of Java 9 programming starting out with classes and instances and ending with generics and modularity in Java.
What you will learn
- Engage with object-oriented programming in Java 9, starting with code snippets in JShell
- Optimize your code, applying functional programming features
- Discover the advantages of modularity
- Become very proficient at using JShell itself
- Learn the new approach to Java programming, which uses the REPL as a prototyping tool
About the Author
Gaston C. Hillar is Italian and has been working with computers since he was 8 years old. In the early 80s, he began programming with the legendary Texas TI-99/4A and Commodore 64 home computers. Gaston has a bachelor's degree in computer science (he graduated with honors). He also holds an MBA (he graduated with an outstanding thesis). At present, Gaston is an independent IT consultant and a freelance author who is always looking for new adventures around the world.
He was a senior contributing editor at Dr. Dobb's and has written more than a hundred articles on software development topics. He has received the prestigious Intel® Black Belt Software Developer award eight times. He has written many articles about Java for Oracle Java Magazine. Gaston was also a former Microsoft MVP in technical computing.
He is a guest blogger at Intel® Software Network (http://software.intel.com). You can reach him at gastonhillar@hotmail.com and follow him on Twitter at http://twitter.com/gastonhillar. Gaston's blog is http://csharpmulticore.blogspot.com.
He lives with his wife, Vanesa, and his two sons, Kevin and Brandon.
Table of Contents
- JShell – A Read-Evaluate-Print-Loop for Java 9
- Real-World Objects to UML Diagrams and Java 9 via JShell
- Classes and Instances
- Encapsulation of Data
- Mutable and Immutable Classes
- Inheritance, Abstraction, Extension, and Specialization
- Members Inheritance and Polymorphism
- Contract Programming with Interfaces
- Advanced Contract Programming with Interfaces
- Maximization of Code Reuse with Generics
- Advanced Generics
- Object-Oriented, Functional Programming, and Lambda Expressions
- Modularity in Java 9
- Exercise Answers
商品描述(中文翻譯)
**主要特點**
- 完整介紹 Java 9 的新特性
- 本教程強調使用 JShell 練習以達到流暢性
- 徹底介紹透過 Java 泛型的合約程式設計代碼重用
- 學習如何使用新的模組系統
- 如何在 Java 9 中使用正確的函數式程式設計風格
**書籍描述**
Java 9 的發布帶來了許多微妙和不那麼微妙的變化,影響了 Java 程式設計師處理代碼的方式。最重要的變化無疑是 REPL 的可用性,稱為 JShell,這將使實驗和原型設計比舊的基於 IDE 的專案導向方法更為簡單。另一個更微妙的變化可以在模組系統中看到,這將導致更模組化、可維護的代碼。本書的主要主題是充分利用物件導向代碼、函數式程式設計和 Java 9 中的新模組化特性。
每一章將增強對 Java 9 程式設計的全面理解,從類別和實例開始,最終涵蓋 Java 中的泛型和模組化。
**您將學到的內容**
- 參與 Java 9 的物件導向程式設計,從 JShell 中的代碼片段開始
- 優化您的代碼,應用函數式程式設計特性
- 發現模組化的優勢
- 熟練使用 JShell 本身
- 學習使用 REPL 作為原型工具的新 Java 程式設計方法
**關於作者**
**Gaston C. Hillar** 是意大利人,自 8 歲起便開始接觸電腦。在 80 年代初,他開始使用傳奇的德州儀器 TI-99/4A 和 Commodore 64 家用電腦進行程式設計。Gaston 擁有計算機科學學士學位(以優異成績畢業)。他還擁有 MBA(以優秀論文畢業)。目前,Gaston 是一名獨立 IT 顧問和自由作家,總是尋找世界各地的新冒險。
他曾是 Dr. Dobb's 的高級貢獻編輯,撰寫了超過一百篇有關軟體開發主題的文章。他八次獲得了著名的 Intel® Black Belt Software Developer 獎。他為 Oracle Java Magazine 撰寫了許多有關 Java 的文章。Gaston 也是前 Microsoft MVP(技術計算)獲得者。
他是 Intel® Software Network 的客座部落客(http://software.intel.com)。您可以通過 gastonhillar@hotmail.com 聯繫他,並在 Twitter 上關注他 http://twitter.com/gastonhillar。Gaston 的部落格是 http://csharpmulticore.blogspot.com。
他與妻子 Vanesa 和兩個兒子 Kevin 和 Brandon 共同生活。
**目錄**
1. JShell – Java 9 的讀取-評估-列印-迴圈
2. 從實際物件到 UML 圖和 Java 9 透過 JShell
3. 類別和實例
4. 數據的封裝
5. 可變和不可變類別
6. 繼承、抽象、擴展和專門化
7. 成員繼承和多型
8. 使用介面的合約程式設計
9. 使用介面的進階合約程式設計
10. 透過泛型最大化代碼重用
11. 進階泛型
12. 物件導向、函數式程式設計和 Lambda 表達式
13. Java 9 中的模組化
14. 練習答案