Skip to content

Commit

Permalink
Added real world example of Command pattern
Browse files Browse the repository at this point in the history
JUnit 4 Statement class is also an example of Command pattern. Added that to list of real world examples
  • Loading branch information
npathai authored Dec 3, 2018
1 parent 53b673d commit 0fa18d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions command/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Use the Command pattern when you want to
## Real world examples

* [java.lang.Runnable](http://docs.oracle.com/javase/8/docs/api/java/lang/Runnable.html)
* [org.junit.runners.model.Statement](https://github.com/junit-team/junit4/blob/master/src/main/java/org/junit/runners/model/Statement.java)
* [Netflix Hystrix](https://github.com/Netflix/Hystrix/wiki)
* [javax.swing.Action](http://docs.oracle.com/javase/8/docs/api/javax/swing/Action.html)

Expand Down

0 comments on commit 0fa18d9

Please sign in to comment.