摘要: 1、饿汉式 (静态常量) public class Singleton { private final static Singleton INSTANCE = new Singleton(); private Singleton(){} public static Singleton getInst 阅读全文
posted @ 2018-11-26 13:59 id_于洋 阅读(181) 评论(0) 推荐(0) 编辑