会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
渔舟唱晚
博客园
首页
新随笔
联系
订阅
管理
2017年7月18日
【设计模式】单例模式
摘要: 1、单例模式的定义 单例模式( Singleton Pattern) 是一个比较简单的模式, 其定义如下: Ensure a class has only one instance, and provide a global point of access to it.( 确保某一个类只有一个实例,
阅读全文
posted @ 2017-07-18 22:15 Memset
阅读(276)
评论(0)
推荐(0)
编辑
公告