2017年9月19日
摘要: 懒汉式(线程不安全): public class Singleton { private static Singleton instance; private Singleton() {} public static Singleton getInstance() { if(instance == 阅读全文
posted @ 2017-09-19 15:50 断剑重铸之时 阅读(171) 评论(0) 推荐(0) 编辑