会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
gsluofu
博客园
首页
新随笔
联系
订阅
管理
2020年5月29日
设计模式
摘要: ###Java 设计模式 **单例模式:**解决的问题:就是可以保证一个类在内存中的对象唯一性。 public class SingleInstance { private static volatile SingleInstance singleInstance = null; private S
阅读全文
posted @ 2020-05-29 10:01 gsluofu
阅读(182)
评论(0)
推荐(0)
编辑
公告