From 92db946824b2f02c60e730e7aea0d1462bf786ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Fri, 20 Mar 2015 22:51:49 +0200 Subject: [PATCH] Added real world example for Builder. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 60b5ae9c8..8cf08ec3c 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ Behavioral patterns are concerned with algorithms and the assignment of responsi **Real world examples:** * [java.lang.StringBuilder](http://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html) +* [Apache Camel builders](https://github.com/apache/camel/tree/0e195428ee04531be27a0b659005e3aa8d159d23/camel-core/src/main/java/org/apache/camel/builder) ## Factory Method [↑](#list-of-design-patterns) **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.