Design Patterns -- Obeserver

1. The intent of the Observer pattern is to define a one-to-many dependency such that when one object changes state, all its dependents are notified and updated automatically. see pic: The Subject her
相關文章
相關標籤/搜索