From 420491429f8caddcac67fb21eb0fa5cf83c56563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Wed, 25 Feb 2015 21:07:40 +0200 Subject: [PATCH] Added real world example for Observer. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index eaf1dfc3fd38..dfb50fa14006 100644 --- a/README.md +++ b/README.md @@ -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) ## State [↑](#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.