From 87672c67fb927fdce64d15b453287571a79483e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Wed, 25 Feb 2015 20:52:54 +0200 Subject: [PATCH] Added real world example for Iterator. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9cf0553d1..752a4ec4f 100644 --- a/README.md +++ b/README.md @@ -270,6 +270,9 @@ * to support multiple traversals of aggregate objects * to provide a uniform interface for traversing different aggregate structures +**Real world examples:** +* [java.util.Iterator](http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html) + ## Mediator [↑](#list-of-design-patterns) **Intent:** Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.