摘要: 设计模式之单例模式 1.饿汉式-线程不安全 public class People{ private static People people=new People(); private People(){ } public static People getInstance(){ return p 阅读全文