Created
August 28, 2014 13:59
-
-
Save artem-zinnatullin/41936326c2254cd59ea6 to your computer and use it in GitHub Desktop.
Short write of Collection creation and filling
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
Collection<String> stringsCollection = new ArrayList<String>() { | |
{ | |
add("1"); | |
add("2"); | |
add("3"); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment