摘要: 1、经典懒汉 public class Danli { private volatile static Danli danli1; public static Danli getInstance() { if (danli1 == null) { synchronized (Danli.class) 阅读全文
posted @ 2020-03-13 13:11 金大人的梦 阅读(127) 评论(0) 推荐(0) 编辑