摘要: 转载出处:http://cantellow.javaeye.com/blog/838473 第一种(懒汉,线程不安全): 1 public class Singleton { 2 private static Singleton instance; 3 private Singleton (){} 阅读全文
posted @ 2017-08-22 18:43 Sharley 阅读(232) 评论(0) 推荐(0) 编辑