单例模式 Ensures that only one object of a particular class is ever created. 确保只创建了一个特别类的对象 楼主说 单例模式就是保证类只实例化一次,减少开销 UML