摘要: 双重检查[推荐用] public class Singleton { private static volatile Singleton singleton; private Singleton() {} public static Singleton getInstance() { if (sin 阅读全文
posted @ 2020-08-04 17:53 再也不见 阅读(107) 评论(0) 推荐(0) 编辑