Functional Interfaces in Java: Fundamentals and Examples
暫譯: Java中的函數式介面:基礎與範例
Ralph Lecessi
- 出版商: Apress 會員日滿千折百
- 出版日期: 2019-02-14
- 售價: $1,980
- 貴賓價: 9.5 折 $1,881
- 語言: 英文
- 頁數: 428
- 裝訂: Paperback
- ISBN: 1484242777
- ISBN-13: 9781484242773
-
相關分類:
Java 程式語言
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,782Mastering Regular Expressions, 3/e (Paperback) -
無瑕的程式碼-敏捷軟體開發技巧守則 + 番外篇-專業程式設計師的生存之道 (雙書合購)$940$700 -
Kent Beck 的實作模式 (Implementation Patterns)$320$272 -
Java 8 Lambdas 技術手冊 (Java 8 Lambdas: Pragmatic Functional Programming)$480$379 -
More Agile Testing: Learning Journeys for the Whole Team (Paperback)$1,900$1,805 -
$504Python 核心編程, 3/e (Core Python Applications Programming, 3/e) -
$528Hibernate 實戰, 2/e -
$279深度學習理論與實踐 -
$606深度學習、優化與識別 (Deep Learning,Optimization and Recognition) -
$594遊戲設計基礎, 3/e (Fundamentals of Game Design, 3/e) -
為你自己學 Git$500$390 -
$330修改軟件的藝術 : 構建易維護代碼的 9條最佳實踐 (Beyond Legacy Code: Nine Practices to Extend the Life (and Value) of Your Software) -
$1,960Reinforcement Learning: With Open AI, TensorFlow and Keras Using Python -
Release It!: Design and Deploy Production-Ready Software, 2/e (Paperback)$2,070$2,028 -
Reinforcement Learning with Tensorflow: Learn the art of designing self-learning systems with TensorFlow and OpenAI Gym$2,180$2,071 -
無瑕的程式碼-整潔的軟體設計與架構篇 (Clean Architecture: A Craftsman's Guide to Software Structure and Design)$580$452 -
The Game Designer's Playlist: Innovative Games Every Game Designer Needs to Play$1,680$1,596 -
不插電:用 Java 手刻一個類神經網路$540$459 -
$499反應式設計模式 -
Hands-On Deep Learning for Games$1,380$1,311 -
Working Effectively with Legacy Code : 管理、修改、重構遺留程式碼的藝術 (中文版)$720$612 -
$453Halcon 機器視覺算法原理與編程實戰 -
$327Red Hat Enterprise Linux 8 系統管理實戰 -
$652好好學 Java : 從零基礎到項目實戰 -
白話演算法!培養程式設計的邏輯思考 (Grokking Algorithms: An illustrated guide for programmers and other curious people)$520$468
相關主題
商品描述
- Use the functional interfaces in the java.util.function package to perform conditional logic, transform and generate data, and perform calculations
- Filter and sort data by several criteria using comparators
- Process collections and filter, sort, transform, and reduce stream elements with functional interfaces
- Write cascading and parallel execution threads
商品描述(中文翻譯)
減少開發時間,通過將您的程式組織為功能介面的鏈,您將看到使用功能介面的優勢,包括內聯功能鏈的靈活性和強大性,以及在整個 Java API 中重用功能方法。您將看到如何將複雜的邏輯表達式簡化為謂詞的鏈,以及如何使用比較器的鏈根據多個標準對數據進行排序。其他示例包括利用功能介面過濾、排序、轉換和對數據進行計算的流;使用功能介面創建級聯和並行執行線程的 CompletableFutures;以及使用功能介面監控其圖形組件背後數據的 JavaFX 程式。
每一章都包含一個完整的程式設計專案:Discount Dave 專案展示了如何通過將問題組織為謂詞列表來篩選汽車客戶;Real Estate Broker 專案展示了如何使用比較器的鏈根據客戶優先級過濾和排序房屋;Dave's Part Inventory 專案展示了如何使用流操作查詢和撰寫庫存數據庫的報告;而 Sentence Builder 專案展示了如何通過將每個語法規則實現為未來鏈中的單獨鏈接來修正句子。
《Functional Interfaces in Java》將幫助您快速開發強大且可靠的程式,利用功能介面來實現邏輯和計算。
您將學到的內容:
- 使用 java.util.function 包中的功能介面來執行條件邏輯、轉換和生成數據,以及進行計算
- 使用比較器根據多個標準過濾和排序數據
- 處理集合,並使用功能介面過濾、排序、轉換和減少流元素
- 編寫級聯和並行執行線程
本書適合對象:
計算機科學學生或專業 Java 程式設計師。本書對功能介面的應用進行了嚴謹的討論,因此本書的先決條件包括基本的 Java 程式設計和面向對象的 Java 程式設計。












