Applied Design Patterns with Java

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

Applicability

The Flyweight pattern's effectiveness depends heavily on how and where it's used. Apply the Flyweight pattern when ALL of the following are true:

Structure

The Flyweight pattern has this general organization:

The following object diagram shows how Flyweights are shared:


Participants

Catalog Structural Prev Next