![]() |
Smalltalk/X WebserverDocumentation of class 'Singleton': |
|
Class: SingletonInheritance:Object | +--Singleton | +--Dolphin::DeafObject
Description:Subclasses of Singleton have only a single instance. The instance creation methods ensure that there is only one instance. Singletons that would have inherited from Object could inherit from Singleton. For Singletons that do not inherit from Object, you have to copy the Singleton's code to your class. [class instance variables:] theOnlyInstance Object The only instance of this class [class variables:] Lock RecursionLock A global lock to protect agains races during instance creation Class protocol:accessing
|
|
ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Mon, 29 May 2023 11:49:21 GMT
|