摘要: 先来一个经典的双重校验的单例 public class Singleton { private static volatile Singleton instances; private Singleton(){ } public static Singleton getInstance(){ if 阅读全文
posted @ 2021-07-06 18:50 岸北 阅读(60) 评论(0) 推荐(0) 编辑