mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 14:59:25 +00:00
fdb9be1e76
This makes cleaner URLs thanks to jekyll
889 B
889 B
layout, title, folder, permalink, categories, tags
| layout | title | folder | permalink | categories | tags |
|---|---|---|---|---|---|
| pattern | Builder | builder | /patterns/builder/ | creational | pattern_tag |
Intent: Separate the construction of a complex object from its representation so that the same construction process can create different representations.
Applicability: 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 construction process must allow different representations for the object that's constructed
Real world examples:
