
最 低 价:¥23.10
| 《核心Java》包含的内容有: ·使用final关键字来优化和保护你的Java类; ·所有类型嵌套类(nested class),包括如何优化匿名类(anonymous class)和内部类(inner class); ·不可变对象(immutable object),包括何时使用(或不应该使用)它们的独特技巧; ·如何通过异常处理管理来消除bug; ·常量及其对Java内存模型的影响; ·Java反射(reflection),我们的讨论远远超越其他书中“Hello World”示例的范畴; ·在标准版本和企业级版本下如何构建和使用动态代理; ·weak reference,包括其使用模式和在拉圾收集及内存管理机制中的角色。 |
| Preface 1. Java in Review Core Concepts Syntax Issues Access Issues Common Mistakes 2. The Final Final Constants Final Variables Final Parameters Final Collections Instance-Scoped Variables Final Classes Final Methods Conditional Compilation Using final as a Coding Standard 3. Immutable Types Fundamentals Immutable Problems Immutable or Not 4. Collections Collection Concepts Implementations Choosing a Collection Type Iterating Collections Collection Gotchas 5. Exceptional Code Two Types of Exceptions When to Use Exceptions Finally for Closure Exceptional Traps 6. Nested Classes Inner Classes Limited-Scope Inner Classes Static Nested Classes Double Nested Classes Nested Classes in Interfaces? Nested Interfaces Nested Class Rules 7. All About Constants Substitution Constants Bit Fields Option Constants Constant Objects Constant Encapsulation 8. Data Modeling The Requirements Document Natural Language Modeling Aspects of Well-Designed Data Models Reusable Data Constraints Persistence 9. Practical Reflection The Basics Reflection and Greater Reflection Applying Reflection to MutableObject Performance of Reflection Reflection + JUnit= Stable Code 10. Proxies What Is a Proxy? Two Kinds of Proxies Proxy Gotchas 11. References in Four Flavors The Problem Java Reference Concepts The Java Reference Classes Practical Applications A Weak Listener When to Use References 12. Tiger: JDK 1.5 New Language Features Generics Other Improvements in Tiger Index |
商品评论(0条)