Created
December 23, 2015 13:05
-
-
Save codeaholicguy/48f4ea844856e73eb6ad to your computer and use it in GitHub Desktop.
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
Map<String, Runnable> superhero = new HashMap<>(); | |
superhero.put("doHero", () -> System.out.println(superhero) ); | |
superhero.get("doHero").run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment