设计模式—单例(Singleton)模式
摘要:
一、单例模式 The purpose of the Singleton pattern is to ensure that there is only one instance of a class, and that there is a global access point to that object. The pattern ensures that the class is insta... 阅读全文
posted @ 2010-04-24 10:55 bookcold 阅读(112) 评论(0) 推荐(0)
浙公网安备 33010602011771号