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