0
2
27
168
450
145
本文参考《源码解析设计与实战》 1.饿汉式 public class Singleton{ private static final Singleton instance=new Singleton(); private Singleton(){} public static Singleton getinstance(){ return instance } ...