摘要:
1 /** 2 * 一种错误的单例写法,线程不安全 3 */ 4 private static Singleton uniqueSingleton; 5 6 private Singleton() { 7 } 8 9 public static Singleton getInstance() { 10 ... 阅读全文
posted @ 2018-03-12 23:56
Vongfong
阅读(121)
评论(0)
推荐(0)

浙公网安备 33010602011771号