Applied Design Patterns with Java

Structural :: Flyweight (195) {C ch 14}


Example - UML : Folders


Example - Java :: Patterns\Structural\Flyweight

Pattern Concept: to avoid the overhead of large numbers of very similar classes, and to correspondingly reduce the object instance count.


Issues and Consequences of the
Flyweight pattern include:

The example Java program is named 'FlyCanvas'. The UML diagram is above, and the list of Java files is below:

Catalog Structural Prev Next