摘要: 饿汉单例 public class Singleton { private static Singleton singleton = new Singleton(); private Singleton() {} public static Singleton createInstance() { 阅读全文
posted @ 2021-11-30 19:32 程序员hg 阅读(261) 评论(0) 推荐(0) 编辑