摘要: 首先写个单例: public class SingleDemo { private static SingleDemo s = null; private SingleDemo(){} public static SingleDemo getInstance(){ if(s == null){ s 阅读全文
posted @ 2016-10-06 16:00 鹏鹏进阶 阅读(3813) 评论(1) 推荐(1) 编辑