Skip to content

Commit

Permalink
Added real world example for Observer.
Browse files Browse the repository at this point in the history
  • Loading branch information
iluwatar committed Feb 25, 2015
1 parent d94cb0e commit 4204914
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@

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

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

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

0 comments on commit 4204914

Please sign in to comment.