这是设计模式的demo项目,每个分支对应一种设计模式,设计模式和分支对应关系如下: 1、代理模式--dev_proxy 2、简单工厂模式--dev_simple_factory 3、工厂方法模式--dev_factory_method 4、抽象工厂模式--dev_abstract_factory 5、单例模式--dev_singleton 6、委派模式--dev_delegate 7、策略模式--dev_strategy 8、原型模式--dev_prototype 9、模板模式--dev_template