提交 dab9934b 编写于 作者: I Ilkka Seppälä

Update README.md

上级 4ddaae45
......@@ -16,6 +16,10 @@
##Builder
**Intent:** Separate the construction of a complex object from its representation so that the same construction process can create different representations.
![alt text](https://github.com/iluwatar/java-design-patterns/blob/master/builder/etc/builder.jpg "Builder")
**Applicability:** Use the Abstract Factory pattern when
##Factory Method
**Intent:** Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册