摘要: [TOC] 单列模式 Ensure a class has only one instance, and provide a global point of access to it.(确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。) 线程不安全 "懒汉模式" 懒汉模式存在线程安 阅读全文
posted @ 2020-10-06 21:05 walkingSun 阅读(150) 评论(0) 推荐(0) 编辑
**/