累成一条狗

2021年11月19日

单例模式也能玩出花

摘要: 一、单例模式 1、什么是单例模式 (1)单例模式 【单例模式(Singleton Pattern):】 定义: Ensure a class has only one instance, and provide a global point of access to it. 直译:确保一个类只有一个 阅读全文

posted @ 2021-11-19 19:52 累成一条狗 阅读(725) 评论(0) 推荐(0) 编辑

导航