Object Oriented Software Engineering   View all facts   Glossary   Help
subject > pattern > design pattern > singleton
Next design patternabstraction-occurrence    Updesign pattern    Previous design patternrelated pattern   

singleton comparison table
Subject is a kind of is a subtopic of have example is an instance of have problem have context has definition have solution have forces have references
design patternpattern6.1 - Introduction to Patterns  a sentence or two explaining the main difficulty being tackleda contextA pattern useful for the design of software one or more forcesone or more references which indicate who developed or inspired a pattern
singleton 6.5 - The Singleton Patternthe Company or University classes in systems that run the business of that company or universitydesign patternHow do you ensure that it is never possible to create more than one instance of a singleton class?A pattern that ensures that a certain class can have only one instanceIn a singleton class, create the following:one of the Gang of Four patterns.

Next design patternabstraction-occurrence    Updesign pattern    Previous design patternrelated pattern