会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ashe
https://ashe-c0de.github.io/
首页
管理
2024年6月25日
单例模式(Singleton Pattern)
摘要: 单例模式,即限制类只能实例化一个实例的设计模式a software design pattern that restricts the instantiation of a class to a singular instance. 通常而言单例模式满足以下特征: 确保只有一个实例Ensure th
阅读全文
posted @ 2024-06-25 23:47 Ashe|||^_^
阅读(39)
评论(0)
推荐(0)
公告