Design Pattern - 单例模式

摘要: 单例模式 (singleton),保证一个类仅有一个实例,并提供个访问它的全局访问点。 Singleton pattern provides a mechanism to limit the number of the instances of the class to one. Thus the same object is always shared by different parts of... 阅读全文
posted @ 2013-02-18 18:20 fxjwind 阅读(287) 评论(0) 推荐(0)