Chapter 1. Creational Patterns Chapter 2. Behavioral Patterns Chapter 3. Structural Patterns Chapter 4. System Patterns Chapter 5. Introduction to Java Programming Language Patterns Chapter 6. Java Core APIs Chapter 7. Distributed Technologies Chapter 8. Jini and J2EE Architectures
标签: Patterns Chapter Behavioral Creational
上传时间: 2014-02-02
上传用户:bakdesec
THE DESIGN PATTERNS JAVA COMPANION 1. Creational Patterns 17 The Factory Pattern 18 How a Factory Works 18 Sample Code 18 The Two Derived Classes 19 Building the Factory 20 Factory Patterns in Math Computation 22 When to Use a Factory Pattern 24 Thought Questions 25 The Abstract Factory Pattern 26 A GardenMaker Factory 26 How the User Interface Works 28 Consequences of Abstract Factory 30 Thought Questions 30 The Singleton Pattern 31 Throwing the Exception 32 Creating an Instance of the Class 32 Static Classes as Singleton Patterns 33 Creating Singleton Using a Static Method 34
标签: Creational COMPANION PATTERNS Patterns
上传时间: 2013-12-20
上传用户:xwd2010
仅学习使用,design patterns... Creational类的,包含singleton,prototype,builder, factoryMethod,abstractFactory
标签:
上传时间: 2016-01-09
上传用户:hj_18