Skip to content

Commit 4204914

Browse files
committed
Added real world example for Observer.
1 parent d94cb0e commit 4204914

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@
310310

311311
* changing in one object leads to a change in other objects
312312

313+
**Real world examples:**
314+
* [java.util.Observer](http://docs.oracle.com/javase/6/docs/api/java/util/Observer.html)
313315

314316
## <a name="state">State</a> [&#8593;](#list-of-design-patterns)
315317
**Intent:** Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.

0 commit comments

Comments
 (0)