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.
阅读(1931) | 评论(0) | 转发(0) |