You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: factory-method/README.md
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,12 @@ Use the Factory Method pattern when
27
27
* a class wants its subclasses to specify the objects it creates
28
28
* classes delegate responsibility to one of several helper subclasses, and you want to localize the knowledge of which helper subclass is the delegate
29
29
30
+
## Known uses
31
+
32
+
java.util.Calendar
33
+
java.util.ResourceBundle
34
+
java.text.NumberFormat#getInstance()
35
+
30
36
## Credits
31
37
32
38
*[Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612)
0 commit comments