singleton | has definition A pattern that ensures that a certain class can have only one instance |  |
has context |  |
has example the Company or University classes in systems that run the business of that company or university |  |
has forces |  |
has problem How do you ensure that it is never possible to create more than one instance of a singleton class? |  |
has references one of the Gang of Four patterns. |  |
has solution In a singleton class, create the following: |  |
is a subtopic of 6.5 - The Singleton Pattern |  |
is an instance of design pattern |  |
design pattern | has antipatterns zero or more antipatterns - solutions that are inferior or do not work in this context with the reason for their rejection |  |
has name |  |
has related patterns zero or more related design patterns |  |
should be illustrated using a simple diagram |  |
should be written using a narrative writing style |  |
pattern | should be as general as possible |  |
should be described in an easy-to-understand form so that people can determine when and how to use it |  |
should contain a solution that has been proven to effectively solve the problem in the indicated context |  |