How can I compare two MultiMaps?
问题 I have two Multimaps which have been created from two huge CSV files. Multimap<String, SomeClassObject> mapOne = ArrayListMultimap.create(); Multimap<String, SomeClassObject> mapTwo = ArrayListMultimap.create(); I have assumed one CSV column to be as a Key and each of the Key has thousands of values associated with it. Data contained within these Multimap s should be same. Now I want to compare the data within these Multimap s and find if any values are different. Here are the two approaches