Month: June 2022

Design – Structural Patterns

A decorator class must implement and use the interface the decorated class implements. Let’s see this step by step, starting with a non-decorated class design:  Figure 11.1: A class diagram representing the ComponentA class implementing the IComponent interface  In the preceding diagram, we have the following components: This translates into the following sequence diagram:  Figure […]



          Copyright © 2015-2024 | About | Terms of Service | Privacy Policy