Markus 5ce932ceb7 Work on #213
- properly categorize all patterns
- remove pattern list from readme
- minor fixes to readme
- removed "introduction" because its not a pattern and an error i
committed some time ago
2015-08-20 21:40:07 +02:00

882 B

layout, title, folder, permalink, categories, tags
layout title folder permalink categories tags
pattern Builder builder /patterns/builder/ Creational Java

Intent: Separate the construction of a complex object from its representation so that the same construction process can create different representations.

alt text

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: