摘要: 常用设计模式: 单例模式: 解决问题:配置类Config的对象只能有一个 解决方案: Static Config instance Private Config() Static Config newInstance(){ If (instance==null){ Instance=new Conf 阅读全文
posted @ 2020-02-16 21:19 ZJfor 阅读(3114) 评论(0) 推荐(0) 编辑