Created
May 10, 2012 18:15
-
-
Save landon9720/2654845 to your computer and use it in GitHub Desktop.
anonymous class constructor
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, String> map = new HashMap<String, String() {{ | |
add("foo", "bar"); | |
add("name", "landon"); | |
}}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment