![GoF Design Patterns – Structural Patterns – Flyweight](https://circle.visual-paradigm.com/wp-content/uploads/2017/08/GoF-Design-Patterns-Structural-Patterns-Flyweight.png)
This is a UML class diagram example for the Flyweight design pattern.
Purpose
Facilitates the reuse of many fine grained objects, making the utilization of large numbers of objects more efficient.
Use When
- Many like objects are used and storage cost is high.
- The majority of each object's state can be made extrinsic.
- A few shared objects can replace many unshared ones.
- The identity of each object does not matter.
Import into your Project
Open diagram in Visual Paradigm [?]Copy the URL below, paste it in the Open Project windows of Visual Paradigm and press Enter to open it |
Posted by: Manuel Kearney