Java Precisely, 2/e (Paperback)
暫譯: 精確的 Java, 第二版 (平裝本)

Peter Sestoft

  • 出版商: MIT
  • 出版日期: 2005-06-28
  • 定價: $875
  • 售價: 2.3$199
  • 語言: 英文
  • 頁數: 168
  • 裝訂: Paperback
  • ISBN: 0262693259
  • ISBN-13: 9780262693257
  • 相關分類: Java 程式語言
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

商品描述

Description:

This concise guide to the Java programming language, version 5.0, offers a quick reference for the reader who wants to know the language in greater detail than that provided by the standard text or language reference book. It presents the entire Java programming language and essential parts of the class libraries -- the collection classes and the input-output classes.

The second edition adds material on autoboxing of primitive types, string formatting, variable-arity methods, the enhanced for statement, enum types, generic types and methods, reflection, and meta-data annotations. It has been updated throughout to reflect the changes from Java 1.4 to Java 5.0. The final section summarizes and illustrates the new features of Java 5.0 and compares them to the C# programming language. General rules are shown on left-hand pages and corresponding examples on right-hand pages. All examples are fragments of legal Java programs and the complete ready-to-run example programs can be found at the book's Web site, http://www.dina.kvl.dk/~sestoft/javaprecisely/.

Peter Sestoft is Professor of Information Technology at the Royal Veterinary and Agricultural University and at the IT University of Copenhagen, Denmark.

Table of Contents:

Preface ix
Notational Conventions x
1. Running Java: Compilation, Loading, and Execution 2
2. Names and Reserved Names 2
3. Java Naming Conventions 2
4. Comments and Program Layout 2
5. Types 4
6. Variables, Parameters, Fields, and Scope 8
7. Strings 10
8. Arrays 16
9. Classes 20
10. Classes and Objects in the Computer 32
11. Expressions 34
12. Statements 46
13. Interfaces 60
14. Enum Types (Java 5.0) 62
15. Exceptions, Checked and Unchecked 64
16. Threads, Concurrent Execution, and Synchronization 66
17. Compilation, Source Files, Class Names, and Class Files 72
18. Packages and Jar Files 72
19. Mathematical Functions 74
20. String Builders and String Buffers 76
21. Generic Types and Methods (Java 5.0) 78
22. Generic Collections and Maps (Java 5.0) 92
23. Input and Output 110
24. Reflection 134
25. Metadata Annotation (Java 5.0) 138
26. What Is New in Java 5.0 140
References 142
Index 143

商品描述(中文翻譯)

描述:
這本簡明的 Java 程式語言指南,版本 5.0,為希望深入了解該語言的讀者提供了快速參考,超越了標準文本或語言參考書所提供的內容。它呈現了整個 Java 程式語言及其類別庫的基本部分——集合類別和輸入輸出類別。

第二版新增了有關基本類型自動包裝、字串格式化、可變參數方法、增強的 for 語句、列舉類型、泛型類型和方法、反射以及元數據註解的內容。全書已更新,以反映從 Java 1.4 到 Java 5.0 的變更。最後一部分總結並說明了 Java 5.0 的新特性,並將其與 C# 程式語言進行比較。一般規則顯示在左側頁面,對應的範例顯示在右側頁面。所有範例都是合法的 Java 程式片段,完整的可執行範例程式可以在本書的網站上找到,http://www.dina.kvl.dk/~sestoft/javaprecisely/。

彼得·塞斯托夫(Peter Sestoft)是丹麥皇家獸醫與農業大學及哥本哈根 IT 大學的資訊技術教授。

目錄:
前言
符號約定
1. 執行 Java:編譯、加載和執行
2. 名稱和保留名稱
3. Java 命名約定
4. 註解和程式佈局
5. 類型
6. 變數、參數、欄位和範圍
7. 字串
8. 陣列
9. 類別
10. 計算機中的類別和物件
11. 表達式
12. 語句
13. 介面
14. 列舉類型(Java 5.0)
15. 異常,檢查和未檢查
16. 執行緒、並發執行和同步
17. 編譯、源文件、類別名稱和類別文件
18. 套件和 Jar 文件
19. 數學函數
20. 字串生成器和字串緩衝區
21. 泛型類型和方法(Java 5.0)
22. 泛型集合和映射(Java 5.0)
23. 輸入和輸出
24. 反射