双重校验锁实现单例模式

package cn.yqh.interview; /** * @author 袁 * @create 2019/8/21-11:48 */ public class Singleton { private static volatile Singleton singleton = null; private Si
相关文章
相关标签/搜索