Created
May 23, 2019 04:37
-
-
Save hackjutsu/e76a3c5b5f2812c9bc4e68b81190bd26 to your computer and use it in GitHub Desktop.
[medium snippets] #medium #designPattern #StatePattern
This file contains 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 State { | |
void pressPlay(MP3PlayerContext context); | |
String getState(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment