Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Singleton pattern
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== External links == {{external links|date=November 2016}} {{wikibooks|Computer Science/Design Patterns|Singleton|Singleton implementations in various languages}} {{commons category}} * Complete article "[https://howtodoinjava.com/design-patterns/creational/singleton-design-pattern-in-java/ Java Singleton Pattern Explained]" * Four different ways to implement singleton in Java "[https://web.archive.org/web/20150709155148/http://www.javaexperience.com/design-patterns-singleton-design-pattern/ Ways to implement singleton in Java]" * Book extract: [https://csharpindepth.com/Articles/Singleton Implementing the Singleton Pattern in C#] by Jon Skeet * [https://docs.microsoft.com/en-us/previous-versions/msp-n-p/ff650849(v=pandp.10) Singleton at Microsoft patterns & practices Developer Center] * IBM article "[https://www.ibm.com/developerworks/library/j-dcl/ Double-checked locking and the Singleton pattern]" by Peter Haggar * {{cite web |last1=Geary |first1=David |date=2003-04-25 |df=mdy |url=https://www.infoworld.com/article/2073352/core-java-simply-singleton.html |title=How to navigate the deceptively simple Singleton pattern |department=Java Design Patterns |work=[[JavaWorld]] |access-date=2020-07-21}} * [https://code.google.com/archive/p/google-singleton-detector/ Google Singleton Detector] (analyzes [[Java bytecode]] to detect singletons) {{Design Patterns Patterns}} {{DEFAULTSORT:Singleton Pattern}} [[Category:Software design patterns]] [[Category:Anti-patterns]] [[Category:Articles with example Java code]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)