Is Observable Design Pattern applicable or one-to-one relationship?
We have these requirement that a certain class will be notified if its buffer is changed. Since the relationship of the class and the buffer is one-to-one is it still preferable to use Observer even if its not one-to-many relationship?
Aucun commentaire:
Enregistrer un commentaire