#211 added real world examples from Java api for creational patterns

This commit is contained in:
Narendra Pathai committed 2016-08-20 13:17:53 +05:30
1 parent 56100927a9
commit c79df708b1
4 files changed
+17 -5

No files matched your search

+3
View File
@@ -31,6 +31,9 @@ Use the Singleton pattern when
## Real world examples
* [java.lang.Runtime#getRuntime()](http://docs.oracle.com/javase/8/docs/api/java/lang/Runtime.html#getRuntime%28%29)
* [java.awt.Desktop#getDesktop()](http://docs.oracle.com/javase/8/docs/api/java/awt/Desktop.html#getDesktop--)
* [java.lang.System#getSecurityManager()](http://docs.oracle.com/javase/8/docs/api/java/lang/System.html#getSecurityManager--)
## Credits