Created
May 20, 2019 05:07
-
-
Save hackjutsu/4b5bccc07b755410e45a03399996e958 to your computer and use it in GitHub Desktop.
[medium snippets] #medium #designPattern #CommandPattern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface Command { | |
| void execute(); | |
| void undo(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment