Last active
February 17, 2016 16:22
-
-
Save toto-castaldi/300d56985b4d307fc8d0 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
//guava | |
import com.google.common.collect.ImmutableMap | |
return new ImmutableMap.Builder<String, Integer>() | |
.put("one", 1) | |
.put("two", 2) | |
.put("three", 3) | |
.build(); | |
import java.util.Collections; | |
Collections.<String,String>emptyMap(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment