摘要: 1.饿汉模式 2.懒汉模式 3. 双重校验锁 public class LazySingleton { private static LazySingleton lazySingleton; private LazySingleton() {} public static LazySingleton 阅读全文
posted @ 2016-05-27 16:04 Onlyだ 阅读(110) 评论(0) 推荐(0)