mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 10:15:44 +00:00
Add Factory Method presentation
This commit is contained in:
1 parent
4b1650fbde
commit
506d316529
3 files changed
+190
-1
No files matched your search
@@ -69,7 +69,11 @@ 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
|
||||
## Presentations
|
||||
|
||||
* [Factory Method Pattern](etc/presentation.html)
|
||||
|
||||
## Real world examples
|
||||
|
||||
* [java.util.Calendar](http://docs.oracle.com/javase/8/docs/api/java/util/Calendar.html#getInstance--)
|
||||
* [java.util.ResourceBundle](http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html#getBundle-java.lang.String-)
|
||||
|
||||
Reference in new issue
Block a user