Skip to content

Commit 87672c6

Browse files
committed
Added real world example for Iterator.
1 parent 0ad6818 commit 87672c6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@
270270
* to support multiple traversals of aggregate objects
271271
* to provide a uniform interface for traversing different aggregate structures
272272

273+
**Real world examples:**
274+
* [java.util.Iterator](http://docs.oracle.com/javase/6/docs/api/java/util/Iterator.html)
275+
273276
## <a name="mediator">Mediator</a> [&#8593;](#list-of-design-patterns)
274277
**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.
275278

0 commit comments

Comments
 (0)