KEEP ON CODING......
摘要: 1、延迟实例化方式:(懒汉模式) public class Singleton { private static Singleton uniqueInstance; private Singleton(){ } public static Singleton getInstance(){ if(un 阅读全文
posted @ 2016-05-18 14:48 Cecil2020 阅读(198) 评论(0) 推荐(0) 编辑