mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 22:16:03 +00:00
Update README.md
This commit is contained in:
1 parent
72415386fe
commit
ec8d730113
1 file changed
+3
@@ -15,3 +15,6 @@ Intent: Define an interface for creating an object, but let subclasses decide wh
|
|||||||
|
|
||||||
##Prototype
|
##Prototype
|
||||||
Intent: Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
|
Intent: Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.
|
||||||
|
|
||||||
|
##Singleton
|
||||||
|
Intent: Ensure a class only has one instance, and provide a global point of access to it.
|
||||||
Reference in new issue
Block a user