Java Precisely, 2/e (Paperback)

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. 註釋和程式佈局
...