1
edit
Changes
Mediator
,→Explain
[[Image:Example.png]]
==Explain==
The mediator pattern acts as a mediator by directing the communication between objects. This allows for lower coupling and more flexability and ease of modification if the interaction between objects is ever changed.
As seen in the Diagram above the mediator pattern generally involves a mediator object which hold serveral colleagues. The mediator is used to relay messages between these colleagues.
==Example==
===General Java Example===