Java Garage
暫譯: Java 車庫
Eben Hewitt
- 出版商: Addison Wesley
- 出版日期: 2004-08-22
- 售價: $1,880
- 貴賓價: 9.5 折 $1,786
- 語言: 英文
- 頁數: 480
- 裝訂: Paperback
- ISBN: 0321246233
- ISBN-13: 9780321246233
-
相關分類:
Java 程式語言
已過版
買這商品的人也買了...
-
$980$774 -
$720$569 -
$690$587 -
$450$383 -
$750$593 -
$990$782 -
$650$514 -
$650$507 -
$450$383 -
$680$537 -
$600$474 -
$580$452 -
$520$411 -
$500$450 -
$350$333 -
$800$632 -
$490$382 -
$680$537 -
$780$616 -
$680$537 -
$650$514 -
$580$458 -
$780$616 -
$580$493 -
$680$530
商品描述
Description:
I do my best work in the garage.
Table of Contents:
1. What is the Java Garage.
2. Java Buzz.
3. Java Editions and Platforms.
4. Compiling and Running Java Applications.
Installing the SDK.
Compiling Source Code.
Compiling into a Directory Other Than Your Source Directory.
Running Programs.
Setting the Classpath.
Setting the Classpath at Compile Time.
Setting the Path.
5. Where to Write Code.
Integrated Development Environments.
6. Primitive Types.
About Java Primitives.
Integer Types.
Real Numbers.
Characters.
Logical Representations.
7. Operators.
Operator Precedence.
Arithmetic Operators.
Incrementing and Decrementing Operators.
Relational Operators.
Conditional Operators.
Ternary Operator.
Binary Numbers and Logical Operators.
Shift Operators.
8. Control Statements.
If/Else.
Switch/Case and Breaks.
While Loop.
Do-While Loop.
For Loop.
Complex For Loop.
Nested For Loop.
Continue and Labels.
Enhanced For Loop (for each loop).
9. Classes.
What Is a Class?
10. Fridge: Mmm-mmm Lamb Chops and a Manhattan.
11. Classes Reloaded.
Using External Code in Your Programs:import.
Constructing Objects.
Using Enums.
Methods Allow Variable-Length Parameter Lists.
Wrapper Classes.
Autoboxing.
The Class Named Class.
12. Inheritance.
Getting Your Inheritance.
13. Strings.
Creating String Objects.
String References and Immutability.
Doing Stuff with Strings.
Character Data Encoding.
Useful String Methods.
Better Efficiency with StringBuffers.
14. Arrays.
Creating Arrays.
Using Arrays.
Using Stacks.
ArrayLists and toArray.
15. Documenting Your Code with Javadoc.
Writing Javadoc Comments.
Using Javadoc Tags.
Using the Javadoc Tool.
Changing Javadoc Styles.
Generating Javadoc in Eclipse.
Generating Javadoc with Ant.
16. Abstract Classes.
Dude, Where's My Implementation?
What Is an Abstract Class?
Using Exceptions with Abstract Classes.
Using an Abstract Class Polymorphically.
17. Interfaces.
Some Reasons Why Interfaces Are Very Cool.
How to Write an Interface.
Interfaces Versus Abstract Classes.
Constants.
Interface Inheritance.
Implementing Interfaces.
18. Casting and Type Conversions.
Casting.
Casting Between Primitives and Wrappers.
Casting with Reference Types.
19. Inner Classes.
Regular Inner Classes.
Using Method Local Inner Classes.
Using Anonymous Inner Classes.
Static Inner Class.
20. Blog: Inner Classes and Event Handlers.
21 Handling Exceptions.
Exceptions.
What an Exception Is.
Dealing with Exceptions.
Built-in Exceptions.
Throwing Exceptions.
Catching Exceptions.
Using Finally.
Different Ways of Handling Exceptions.
Wrapping an Exception.
Toolkit:A Custom Exception.
Exceptions and Inheritance.
Exception Handling Pretty Good Practices.
22. File Input/Output.
Files and Directories.
Files.
File IO:Reading and Writing Stream Data.
Readers and Writers.
23. Fridge: Guacamole.
24. Using Regular Expressions.
Purpose of Regex.
25. Creating GUIs with Swing.
Anatomy of a Swing App:Stuff You Typically Need to Do in Swing.
Adding User Controls.
User Controls.stepInto().
Spacing and Aligning Components.
JeditorPane.
JtabbedPane.
LayoutManagers Overview.
Switch (LAYOUT_MANAGERS) {.
Handling Action Events.
Creating Menus.
A Note About Mixing Swing and AWT Components.
26. Blog Entry: Software Development Black Market.
27. Dates and Times.
Dates.
Time.
28. Using Timer Tasks.
Using TimerTask to Do Stuff at Intervals.
Stopping a Timer Thread.
Creating a Timer for a Swing GUI Application.
29. Applets.
Differences Between Extending JApplet and Applet.
Writing an Applet.
A Few Applet Tricks.
30. Fridge: Big Daddy Flapjacks.
31. Using System and Runtime.
Using the System.
Forcing the Garbage Collector to Run.
Suggesting Kindly That the Garbage Collector Run.
Executing an External Application in Java.
Interacting with the User.
Toolkit: A Simple Calculator.
Determine Number of Processors on the Current Machine.
Determine When Your Application Is About to Exit.
System Properties.
32. Using the Java Development Tools.
Using Common SDK Tools.
Discovering Other SDK Tools.
33. FAQ.
Setting the CLASSPATH.
Setting JAVA_HOME in Windows.
Setting the PATH in Windows.
Checking Current Java Version.
Compiling and Running Programs.
Primitive Data Types.
Declaring and Initializing Variables.
Class Definition.
Package Declaration.
Import Declaration.
Inheritance.
Defining and Implementing an Interface.
Exceptions.
Working with JARFiles.
What Is the Java Virtual Machine?
What's In the SDK?
34. Packaging & Deploying Java Applications.
Herding Cats.
Creating JARFiles with Eclipse.
Creating an Icon for Your Java Application on Windows.
35. Toolkit.
A Name Data Class.
Credit Card Validator.
Application:RSSAggregator.
Application:DrawingPad:Garage Doodler.
36. System.Exit.
Java Glossary on Steroids.
Index.
商品描述(中文翻譯)
描述:
我在車庫裡做得最好。
目錄:
1. 什麼是 Java Garage。
2. Java 熱潮。
3. Java 版本與平台。
4. 編譯和運行 Java 應用程序。
- 安裝 SDK。
- 編譯源代碼。
- 編譯到不同於源目錄的目錄。
- 運行程序。
- 設定 Classpath。
- 在編譯時設定 Classpath。
- 設定路徑。
5. 在哪裡編寫代碼。
- 整合開發環境。
6. 原始類型。
- 關於 Java 原始類型。
- 整數類型。
- 實數。
- 字符。
- 邏輯表示。
7. 運算符。
- 運算符優先級。
- 算術運算符。
- 自增和自減運算符。
- 關係運算符。
- 條件運算符。
- 三元運算符。
- 二進位數和邏輯運算符。
- 位移運算符。
8. 控制語句。
- If/Else。
- Switch/Case 和 Break。
- While 迴圈。
- Do-While 迴圈。
- For 迴圈。
- 複雜的 For 迴圈。
- 嵌套 For 迴圈。
- Continue 和標籤。
- 增強型 For 迴圈(for each 迴圈)。
9. 類。
- 什麼是類?
10. 冰箱:嗯嗯羊排和曼哈頓。
11. 類的重載。
- 在你的程序中使用外部代碼:import。
- 構造對象。
- 使用枚舉。
- 方法允許可變長度的參數列表。
- 包裝類。
- 自動裝箱。
- 名為 Class 的類。
12. 繼承。
- 獲取你的繼承。
13. 字符串。
- 創建字符串對象。
- 字符串引用和不可變性。
- 使用字符串進行操作。
- 字符數據編碼。
- 有用的字符串方法。
- 使用 StringBuffer 提高效率。
14. 陣列。
- 創建陣列。
- 使用陣列。
- 使用堆疊。
- ArrayLists 和 toArray。
15. 使用 Javadoc 註解你的代碼。
- 編寫 Javadoc 註解。
- 使用 Javadoc 標籤。
- 使用 Javadoc 工具。
- 更改 Javadoc 樣式。
- 在 Eclipse 中生成 Javadoc。
- 使用 Ant 生成 Javadoc。
16. 抽象類。
- 哥們,我的實現在哪裡?
- 什麼是抽象類?
- 在抽象類中使用異常。
- 以多態方式使用抽象類。
17. 介面。
- 介面為什麼非常酷的一些原因。
- 如何編寫介面。