摘要: 1 public class Singleton { 2 3 private Singleton(){ 4 //do something 5 } 6 7 private static volatile Singleton singleton = null; 8 9 public static Singleton getIns... 阅读全文
posted @ 2018-09-08 10:10 110255 阅读(118) 评论(0) 推荐(0) 编辑