Design Pattern 按图索骥
Creational Patterns
Abstract Factory Creates an instance of several families of classes
Builder Separates object construction from its representation
Factory Method Creates an instance of several derived classes
Prototype A fully initialized instance to be copied or cloned
Singleton A class of which only a single instance can exist
For detail, refer to
1. “重构----改善既有代码的设计.pdf”
2. http://www.cnblogs.com/Terrylee/archive/2008/06/13/cnblogs-book-design-pattern.html
3. http://www.dofactory.com/Patterns/Patterns.aspx
4. etc.
Adapter
作者:DylanWind
出处:http://www.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
出处:http://www.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。