摘要: 1 单例模式 1.1 饿汉法 public class Singleton { private Singleton() { } private static Singleton singleton = new Singleton(); public static Singleton getSingl 阅读全文
posted @ 2016-11-14 16:37 balfish 阅读(319) 评论(0) 推荐(0) 编辑