ilya.gorbunov
12/21/2015, 2:51 PMMap.get method contract is tightly bound with Map.contains, so that get must return null when contains returns false for the particular key. Making Map.get return default value in such case would violate its contract.
Thus we have found no better way to solve it than introducing new method with the desired behavior.