摘要:
抽象工厂模式定义:Provide an interface for creating families of related or dependent objects without specifying their concrete classes. (为创建一组相关或互相依赖的对象提供一个接口, 阅读全文
摘要:
工厂方法模式 工厂方法模式定义:Define an interface for creating an object,but let subclasses decide which class to instantiate.Factory Method lets a class defer inst 阅读全文