mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 08:18:23 +00:00
1 parent
5dbb176a33
commit
da6d20e997
1 file changed
+6
@@ -134,6 +134,12 @@ Use the Builder pattern when
|
|||||||
* The algorithm for creating a complex object should be independent of the parts that make up the object and how they're assembled
|
* The algorithm for creating a complex object should be independent of the parts that make up the object and how they're assembled
|
||||||
* The construction process must allow different representations for the object that's constructed
|
* The construction process must allow different representations for the object that's constructed
|
||||||
|
|
||||||
|
## Tutorials
|
||||||
|
|
||||||
|
* [Refactoring Guru](https://refactoring.guru/design-patterns/builder)
|
||||||
|
* [Oracle Blog](https://blogs.oracle.com/javamagazine/post/exploring-joshua-blochs-builder-design-pattern-in-java)
|
||||||
|
* [Journal Dev](https://www.journaldev.com/1425/builder-design-pattern-in-java)
|
||||||
|
|
||||||
## Known uses
|
## Known uses
|
||||||
|
|
||||||
* [java.lang.StringBuilder](http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html)
|
* [java.lang.StringBuilder](http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html)
|
||||||
|
|||||||
Reference in new issue
Block a user