Java Cookbook: Problems and Solutions for Java Developers 4/e

Darwin, Ian F.

  • 出版商: O'Reilly
  • 出版日期: 2020-04-28
  • 定價: $2,640
  • 售價: 9.5$2,508
  • 貴賓價: 8.8$2,323
  • 語言: 英文
  • 頁數: 614
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1492072583
  • ISBN-13: 9781492072584
  • 相關分類: Java 程式語言
  • 相關翻譯: Java經典實例(第4版) (簡中版)
  • 立即出貨 (庫存 < 3)



Java continues to grow and evolve, and this Cookbook continues to evolve in tandem. This book helps to get you up to speed right away with hundreds of hands-on recipes across a broad range of Java topics. You'll learn useful techniques for everything from string handling and functional programming to network communication.

Each recipe includes self-contained code solutions that you can freely use, along with a discussion of how and why they work. If you are familiar with the basics of the Java language, this cookbook will bolster your knowledge of the language in general and its many recent changes and how to apply them in your day-to-day development.

Recipes include:

  • Methods for compiling, running, and debugging
  • "Packaging" Java classes and building applications
  • Manipulating, comparing, and rearranging text
  • Regular expressions for string- and pattern-matching
  • Handling numbers, dates, and times
  • Structuring data with collections, arrays, and other types
  • Object-oriented and functional programming techniques
  • Input/Output, Directory and filesystem operations
  • Network programming on both client and server
  • Processing JSON for data interchange
  • Multithreading and concurrency
  • Using Java in Big Data applications
  • Interfacing Java with other languages

The 4th Edition of this book has been updated to cover changes through Java 12 and parts of 13 and 14, and includes new recipes for Big Data and data science.





- 編譯、運行和調試的方法
- "打包"Java類和構建應用程序
- 操作、比較和重新排列文本
- 用於字符串和模式匹配的正則表達式
- 處理數字、日期和時間
- 使用集合、數組和其他類型結構化數據
- 面向對象和函數式編程技巧
- 輸入/輸出、目錄和文件系統操作
- 客戶端和服務器的網絡編程
- 處理JSON進行數據交換
- 多線程和並發
- 在大數據應用中使用Java
- 將Java與其他語言接口

這本書的第四版已更新至Java 12以及部分13和14的變化,並新增了大數據和數據科學的範例。


Ian has a lifetime of experience in the software industry, and has worked with Java across many platforms and types of software, from Java's initial release to the present. A founding member of Sun/Oracle Java Champions, Ian is the author of O'Reilly's Java Cookbook and Android Cookbook among others, and has written and taught courses for undergraduate Computer Science and for leading career development company Learning Tree International.


Ian在軟體產業擁有豐富的經驗,並且從Java的初版到現在,在多個平台和軟體類型上都有使用Java。作為Sun/Oracle Java Champions的創始成員,Ian是O'Reilly的《Java Cookbook》和《Android Cookbook》等書的作者,並且為大學的計算機科學本科課程和領先的職業發展公司Learning Tree International撰寫和教授課程。