摘要: 解法一:只适合单线程环境(不好)package test;/** * @author xiaoping * */public class Singleton { private static Singleton instance=null; private Singleton(){ ... 阅读全文
posted @ 2015-05-08 13:55 lisahappy 阅读(77012) 评论(10) 推荐(9) 编辑