Talk:Singleton
From Unify Community Wiki
(Difference between revisions)
(This isn't a singleton.) |
|||
Line 1: | Line 1: | ||
Why a new page? Couldn't you just have updated (and possibly renamed) the old [[AManagerClass]] page?--[[User:KeliHlodversson|KeliHlodversson]] 05:58, 12 February 2009 (PST) | Why a new page? Couldn't you just have updated (and possibly renamed) the old [[AManagerClass]] page?--[[User:KeliHlodversson|KeliHlodversson]] 05:58, 12 February 2009 (PST) | ||
+ | |||
+ | == This isn't a singleton. == | ||
+ | |||
+ | This isn't a singleton. It just provides a global access point to a ''particular'' instance. You can create several instances of the class. See http://en.wikipedia.org/wiki/Singleton_pattern for details. | ||
+ | |||
+ | ''"In computer engineering, the singleton pattern is a design pattern used to implement the mathematical concept of a singleton, '''by restricting the instantiation of a class to one object'''"'' |
Revision as of 17:13, 13 March 2011
Why a new page? Couldn't you just have updated (and possibly renamed) the old AManagerClass page?--KeliHlodversson 05:58, 12 February 2009 (PST)
This isn't a singleton.
This isn't a singleton. It just provides a global access point to a particular instance. You can create several instances of the class. See http://en.wikipedia.org/wiki/Singleton_pattern for details.
"In computer engineering, the singleton pattern is a design pattern used to implement the mathematical concept of a singleton, by restricting the instantiation of a class to one object"