单例模式
2023
单例模式
·252 字·2 分钟·
loading
设计模式
设计模式
单例模式
单例模式是一种创建型设计模式, 让你能够保证一个类只有一个实例, 并提供一个访问该实例的全局节点。![单例模式]