From 0ad681831bf44515f8d081f180deca6f90898c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilkka=20Sepp=C3=A4l=C3=A4?= Date: Wed, 25 Feb 2015 16:37:29 +0200 Subject: [PATCH] Added real world example for Command. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e2ffdbb56..9cf0553d1 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,9 @@ * implement callback functionality * implement the undo functionality +**Real world examples:** +* [java.lang.Runnable](http://docs.oracle.com/javase/6/docs/api/java/lang/Runnable.html) + ## Interpreter [↑](#list-of-design-patterns) **Intent:** Given a language, define a representation for its grammar along with an interpreter that uses the representation to interpret sentences in the language.