摘要: 转载出处:http://cantellow.javaeye.com/blog/838473 第一种(懒汉,线程不安全): 1 public class Singleton { 2 private static Singleton instance; 3 private Singleton (){} 阅读全文
posted @ 2016-02-22 15:46 孟宇 阅读(1645) 评论(0) 推荐(0)