摘要: /** * 单例模式之双检锁 * @author ring2 * 懒汉式升级版 */ public class Singleton3 { private static volatile Singleton3 instance; private Singleton3() {} public stati 阅读全文
posted @ 2021-01-10 23:04 毛会懂 阅读(457) 评论(0) 推荐(0) 编辑