项目作者: Design-pattrns

项目描述 :
In the Abstract Factory pattern, we get rid of if-else block and have a factory class for each sub-class. Then an Abstract Factory class that will return the sub-class based on the input factory class. At first, it seems confusing but once you see the implementation, it’s really easy to grasp and understand the minor difference between Factory and Abstract Factory pattern.
高级语言: Java
项目地址: git://github.com/Design-pattrns/Abstract-Factory-Pattern.git
创建时间: 2018-12-04T01:13:07Z
项目社区:https://github.com/Design-pattrns/Abstract-Factory-Pattern

开源协议:

下载