Learning Java Lambdas
Toby Weston
- 出版商: Packt Publishing
- 出版日期: 2017-03-31
- 售價: $1,340
- 貴賓價: 9.5 折 $1,273
- 語言: 英文
- 頁數: 114
- 裝訂: Paperback
- ISBN: 1787282082
- ISBN-13: 9781787282087
-
相關分類:
Java 程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$490$417 -
$1,960$1,862 -
$790$616 -
$390$332 -
$450$356 -
$720$562 -
$954$906 -
$780$663 -
$1,400Network Programming with Go: Learn to Code Secure and Reliable Network Services from Scratch
-
$450$338 -
$580$435 -
$780$616 -
$800$632 -
$720$562 -
$650$507 -
$1,850$1,758 -
$620$484 -
$680$537 -
$780$585 -
$790$616 -
$980$735 -
$680$530 -
$620$465 -
$780$616 -
$980$774
相關主題
商品描述
Key Features
- Take a deep dive into one of the single most important additions to modern Java
- Master Java lambdas, and fully understand functions, classes, and scope.
- Improve your programming skills, which will enable you to write cleaner and more dynamic code
Book Description
In this short book, we take an in-depth look at lambdas in Java, and their supporting features. The book covers essential topics, such as functional interfaces and type inference, and the key differences between lambdas and closures. You will learn about the background to functional programming and lambdas, before moving on to understanding the basic syntax of lambdas and what differentiates these anonymous functions from standard anonymous classes. Lastly, you'll learn how to invoke lambdas and look at the bytecode generated.
After reading this book, you'll understand lambdas in depth, their background, syntax, implementation details, and how and when to use them. You'll also have a clear knowledge of the difference between functions and classes, and why that's relevant to lambdas. This knowledge will enable you to appreciate the improvements to type inference that drive a lot of the new features in modern Java, and will increase your understanding of method references and scoping.
What you will learn
- What a lambda is and how it differs from other Java features
- How to use lambdas effectively in your own projects
- The use of method references and advanced scoping
- The difference between lambdas and closures
- The differences in bytecode produced when using lambdas
About the Author
Toby Weston specializes in
商品描述(中文翻譯)
《主要特點》
- 深入探討現代Java中最重要的新增功能之一
- 掌握Java lambda,完全理解函數、類別和作用域
- 提升您的程式設計技能,使您能夠撰寫更乾淨且更具動態性的程式碼
《書籍描述》
在這本短篇書籍中,我們深入研究Java中的lambda及其相關功能。本書涵蓋了重要的主題,如函數介面和型別推斷,以及lambda和閉包之間的關鍵差異。您將了解函數式程式設計和lambda的背景,然後深入理解lambda的基本語法,以及這些匿名函數與標準匿名類別的區別。最後,您將學習如何調用lambda並查看生成的字節碼。
閱讀完本書後,您將深入了解lambda的背景、語法、實現細節以及如何在何時使用它們。您還將清楚了解函數和類別之間的差異,以及這對lambda的相關性。這些知識將使您能夠欣賞推動現代Java中許多新功能的型別推斷改進,並增加您對方法引用和作用域的理解。
《您將學到什麼》
- 什麼是lambda,以及它與其他Java功能的不同之處
- 如何在自己的專案中有效使用lambda
- 方法引用和高級作用域的使用
- lambda和閉包之間的差異
- 使用lambda時產生的字節碼的差異
《關於作者》
Toby Weston專注於...