摘要
Singleton是面向对象技术中的模式之一,本文试图阐明Singleton模式的功能和用途,描述singleton模式的基本结构和协作关系,并给出实现程序示例,介绍使用此模式的注意点和可能的扩展,与相关模式的异同和与有关模式的配合使用等。
Singleton is a pattern of facing target technology, and this paper is to expound the function and use of the pattern about singleton. The paper describes the basic structure and cooperation relations of the singleton pattern, and gives a demonstration of the procedure.
出处
《南通职业大学学报》
2004年第2期43-46,共4页
Journal of Nantong Vocational University