mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-14 00:16:48 +00:00
Update README.md
This commit is contained in:
1 parent
180810cca3
commit
2d0905a5e9
1 file changed
+3
@@ -60,3 +60,6 @@
|
|||||||
|
|
||||||
##Observer
|
##Observer
|
||||||
**Intent:** Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
|
**Intent:** Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.
|
||||||
|
|
||||||
|
##State
|
||||||
|
**Intent:** Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.
|
||||||
Reference in new issue
Block a user