singleton pattern
Sign in to saveAlso known as singleton
design pattern in object-oriented software development
Wikidata facts
Show 3 more facts
- Commons category
- Singleton pattern
- Stack Exchange tag
- stackoverflow.com/tags/singleton
- name
- Singleton
Sources (1)
via Wikidata · CC0
~6 min read
Article
A class diagram exemplifying the singleton pattern.
In object-oriented programming, the singleton pattern is a software design pattern that restricts the instantiation of a class to a singular instance. It is one of the well-known "Gang of Four" design patterns, which describe how to solve recurring problems in object-oriented software. The pattern is useful when exactly one object is needed to coordinate actions across a system.
Connections
class
Entity
International Standard Book Number
Entity
object-oriented programming
Entity
Q7637
Entity
software design pattern
Entity
model–view–controller
Entity
thread
Entity
semaphore
Entity
namespace
Entity
class diagram
Entity
unit testing
Entity
concurrency
Entity
factory method pattern
Entity
method
Entity
logging
Entity
singleton
Entity
adapter pattern
Entity
decorator pattern
Entity
constructor
Entity
facade pattern
Entity