2016年3月11日
摘要: 饿汉式单例模式 public class Singleton { private Singleton() {} private static final Singleton single = new Singleton(); //静态工厂方法 public static Singleton getI 阅读全文
posted @ 2016-03-11 14:45 潸何 阅读(2441) 评论(2) 推荐(2) 编辑