I have a Map> in my code, where I\'d avoid potential null pointers if the map\'s #get() method returned an empty l
Map>
#get()
Guava has a method to do exactly what you want. It is similar to Argote's answer.
Map> myMap = ... Functions.forMap(myMap, Arrays.asList("default", "value"));