Guava provides us with great factory methods for Java types, such as Maps.newHashMap().
Maps.newHashMap()
But are there also builders for java Maps?
HashM
This is similar to the accepted answer, but a little cleaner, in my view:
ImmutableMap.of("key1", val1, "key2", val2, "key3", val3);
There are several variations of the above method, and they are great for making static, unchanging, immutable maps.