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