The Mediator pattern is used to define a centralized place where interactions among objects can be handled in one mediator object. Other objects don’t need to interact with each other directly, so it reduces dependency among them.
转载于:https://www.cnblogs.com/zhtf2014/archive/2012/04/23/2466683.html