Flyweight Pattern
- 23rd Apr 2018
- 0
- 5098
- flyweight design pattern java flyweight pattern in java with example How to implement flyweight pattern in java What are intrinsic and extrinsic properties in flyweight pattern? When to use flyweight pattern
It is one of the structural design patterns. It’s main intent as per GOF is “Use sharing to support large numbers of fine-grained objects efficiently” This pattern should be used when we have high number of objects of almost same nature. When we have high number of objects, memory consumption will be high In this […]