Flyweight
Intent
Use sharing to support large numbers of fine-grained objects efficiently
Applicability
an applications uses a large number of objects
object state can be made extrinsic
Structure
Flyweight
operation(context)
FlyWeightManager
ConcreteFlyweight
operation(context)
Client
Flyweight f;
flyweight.operation(context);
Previous slide
Next slide
Back to first slide
View graphic version