Skip to content

Commit f806c5b

Browse files
committed
Add known uses to Factory Method
1 parent 5c26f46 commit f806c5b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

factory-method/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Use the Factory Method pattern when
2727
* a class wants its subclasses to specify the objects it creates
2828
* classes delegate responsibility to one of several helper subclasses, and you want to localize the knowledge of which helper subclass is the delegate
2929

30+
## Known uses
31+
32+
java.util.Calendar
33+
java.util.ResourceBundle
34+
java.text.NumberFormat#getInstance()
35+
3036
## Credits
3137

3238
* [Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)

0 commit comments

Comments
 (0)