We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
享元模式从对象中剥离出不发生改变且多个实例需要的重复数据,独立出一个享元,使多个对象共享,从而节省内存以及减少对象数量。