買這商品的人也買了...
相關主題
商品描述
Work with essential and advanced features of the Java programming language such as Java modules development, lambda expressions (closures), inner classes, threads, I/O, Collections, garbage collection, and more. Author Kishori Sharan provides over 50 diagrams and 290 complete programs to help you visualize and better understand the topics covered in this book.
Java Language Features, Second Edition starts with a series of chapters on the essential language features provided by Java, including annotations, reflection, and generics. These topics are then complemented by details of how to use lambda expressions, allowing you to build powerful and efficient Java programs. The chapter on threads follows this up and discusses everything from the very basic concepts of a thread to the most advanced topics such as synchronizers, the fork/join framework, and atomic variables.
This book contains unmatched coverage of Java MIO, the Stream API, the Path API, the FileVisitor API, the watch service, and asynchronous file I/O. With this in-depth knowledge, your data- and file-management programs will be able to take advantage of every feature of Java's powerful I/O framework and much more.
Additionally, three appendices are available for free via the Download Source Code in apress.com. These appendices will give you a head start on the most important features of Java 10 and the new Java versioning scheme.
What You’ll Learn
- Use essential and advanced features of the Java language
- Code Java annotations and inner classes
- Work with reflection, generics, and threads
- Take advantage of the garbage collector
- Manage streams with the Stream API
Who This Book Is For
Those new to Java programming and continues the learning Java journey; it is recommended that you read an introductory Java programming book first, such as Beginning Java Fundamentals, from Apress.
商品描述(中文翻譯)
本書將帶您深入了解Java程式語言的基本和高級功能,例如Java模組開發、lambda表達式(閉包)、內部類別、執行緒、輸入/輸出、集合、垃圾回收等等。作者Kishori Sharan提供了超過50個圖表和290個完整的程式,以幫助您視覺化並更好地理解本書所涵蓋的主題。
Java Language Features, 第二版首先介紹了Java提供的基本語言功能,包括註解、反射和泛型。然後,這些主題進一步補充了如何使用lambda表達式,讓您能夠構建強大且高效的Java程式。接著是關於執行緒的章節,從執行緒的基本概念到最高級的主題,如同步器、fork/join框架和原子變數,都有詳細討論。
本書包含了Java MIO、Stream API、Path API、FileVisitor API、watch service和非同步檔案輸入/輸出等無與倫比的涵蓋範圍。憑藉這些深入的知識,您的資料和檔案管理程式將能夠充分利用Java強大的輸入/輸出框架以及更多功能。
此外,三個附錄可通過apress.com的下載原始碼免費獲得。這些附錄將讓您提前了解Java 10的最重要功能和新的Java版本採用的方案。
您將學到什麼
- 使用Java語言的基本和高級功能
- 編寫Java註解和內部類別
- 使用反射、泛型和執行緒
- 充分利用垃圾回收器
- 使用Stream API管理串流
本書適合對Java程式設計新手以及持續學習Java的人;建議您先閱讀一本介紹Java程式設計的入門書,例如Apress出版的《Beginning Java Fundamentals》。