1
4.13.11
4.13.11
设计模式及其应用
设计模式及其应用
–
–
生成模式
生成模式
Abstract Factory
Abstract Factory
模式
模式
l The Problem: We want to to be able to encapsulate the
implementation of class creation so that parallel hierarchies of
classes can be created and clients can avoid hard-coding the
name of the class to be constructed.
- 1
- 2
前往页