摘要:
先上代码 public class SingletonTest { // 使用volatile保证可见性 private static volatile SingletonTest singletonTest = null; private SingletonTest() { } public st 阅读全文
posted @ 2021-09-16 23:16
重设代码的天空
阅读(718)
评论(0)
推荐(0)

浙公网安备 33010602011771号