图解面向对象设计模式 / 抽象工厂模式
Overview
Abstract Factory Pattern (Another Name : Kit)
Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
提供一个创建一系列或相互依赖对象的接口,而无须指定它们具体的类。
参考文献
- Java设计模式/耿祥义,张跃平. ——北京:清华大学出版社,2009.5