SINGLETONPATTERN
Singleton pattern
In software engineering, the singleton pattern is a design pattern that restricts the Instantiation of a class to one object. This is useful when exactly one object is needed to coordinate actions across the system. The concept is sometimes generalized to systems that operate more efficiently when only one object exists, or that restrict the instantiation to a certain number of objects. The term comes from the mathematical concept of a singleton.The above text is a snippet from Wikipedia: Singleton pattern
and as such is available under the Creative Commons Attribution/Share-Alike License.
singleton pattern
Noun
- A creational design pattern that restricts the instantiation of a class to one object.
The above text is a snippet from Wiktionary: singleton pattern
and as such is available under the Creative Commons Attribution/Share-Alike License.