上传者: forever4444
|
上传时间: 2021-06-02 23:46:17
|
文件大小: 1.64MB
|
文件类型: PDF
设计模式精解-GoF 23种设计模式解析附C++实现源码
目 录
0 引言..............................................................................................................................................2
0.1设计模式解析(总序).....................................................................................................2
0.2设计模式解析后记.............................................................................................................2
0.3 与作者联系........................................................................................................................5
1 创建型模式...................................................................................................................................5
1.1 Factory模式........................................................................................................................5
1.2 AbstactFactory模式..........................................................................................................11
1.3 Singleton模式...................................................................................................................16
1.4 Builder模式.......................................................................................................................18
1.5 Prototype模式...................................................................................................................23
2 结构型模式.................................................................................................................................26
2.1 Bridge模式........................................................................................................................26
2.2 Adapter模式......................................................................................................................31
2.3 Decorator模式...................................................................................................................35
2.4 Composite模式...................................................................