Faceți căutări pe acest blog

16.5.07

Singleton

http://en.wikipedia.org/wiki/Singleton

In computer programming, a singleton is a common design pattern. It refers to a class which is not meant to be freely instantiated, but is meant to have only one instance. See Singleton pattern. A singleton is also a variable that is only used once in a program, usually indicating a programming mistake. See singleton variable.