摘要: 解法一:只适合单线程环境(不好) package test; /** * @author xiaoping * */ public class Singleton { private static Singleton instance=null; private Singleton(){ } pub 阅读全文
posted @ 2018-12-04 20:24 ABlogForQin 阅读(146) 评论(0) 推荐(0) 编辑