From f806c5b71224b03e342370b5ff2de618e0af2ae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Mon, 4 Jul 2016 21:52:39 +0300 Subject: [PATCH] Add known uses to Factory Method --- factory-method/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/factory-method/README.md b/factory-method/README.md index 42237883d..09d7b481d 100644 --- a/factory-method/README.md +++ b/factory-method/README.md @@ -27,6 +27,12 @@ Use the Factory Method pattern when * a class wants its subclasses to specify the objects it creates * classes delegate responsibility to one of several helper subclasses, and you want to localize the knowledge of which helper subclass is the delegate +## Known uses + +java.util.Calendar +java.util.ResourceBundle +java.text.NumberFormat#getInstance() + ## Credits * [Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)