木子博客
一个博客,一段文字;写给以后的自己...
博客园
首页
博问
闪存
新随笔
联系
订阅
管理
随笔- 74 文章- 0 评论- 472
2010年8月31日
设计模式札记——单例模式(Singleton Pattern)
摘要: 单例模式感觉是所有设计模式中最简单的模式了。 Ensure a class has only one instance and provide a global point of access to it.确保一个类只有一个实例,并提供一个全局访问入口。
阅读全文
posted @ 2010-08-31 23:25 木子博客 阅读(138) 评论(0)
编辑
公告