Implementation Issues
Flyweight objects are shared properly,
clients must obtain flyweights
solely from the flyweight factory
(getFlyweight(key)).
key parameter in the
getFlyweight(key) operation
is needed to look up the right flyweight
in the pool
(see Sample Code / Example 1).