Tag: mediator

Mediator Design Pattern

Mediator Design Pattern with Java

What should be done when we need to use a functionality that may be repeated in several classes? Should we repeat the code in all the classes? If the behavior of this functionality changes, you will be obligated to change it in the entire project...