但是,从根本上来说通过模式实现重用属于细粒度操作:一个解决方案是(比如享元(Flyweight)模式)与另一个解决方案(备忘录模式)正交。
But, fundamentally, reuse via design patterns is fine-grained: one solution (the Flyweight pattern, for example) is orthogonal to another (the Memento pattern).
享元模式模式描述了如何在最小的粒度上来支持含有大量数字的对象。
Other design patterns describe specific ways of decomposing an object into smaller objects.
享元模式模式描述了如何在最小的粒度上来支持含有大量数字的对象。
Other design patterns describe specific ways of decomposing an object into smaller objects.
应用推荐