7.单例模式

Ensure a class has only one instance,and provide a global point of access to it.确保某一个类只有一个实例,而且自行实例化并向整个系统提供这个实例。

results matching ""

    No results matching ""