I want to add elements from a 2D arraylist to a multimap but cant find an equivalent method to getOrDefault as in case of hashmaps.
I tried using the guava library but seems like it does not have any deafult method for doing the same. can someone help me with some other approach