Design Pattern----06.Creational.Singleton.Pattern (Delphi Sample)
摘要:
IntentEnsure a class has only one instance, and provide a global point of access to it. Encapsulated “just-in-time initialization” or “initialization on first use”. ProblemApplication needs one, and only one, instance of an object. Additionally, lazy initialization and global access are necessary.Di 阅读全文
posted @ 2011-06-17 17:19 Tony Liu 阅读(730) 评论(0) 推荐(0) 编辑