title: Get keys and values from Multimap
body: <p>I want to print all the keys and all the attributes of an object from a multiMap.
  The same key can have different objects.</p>
  
  <p>I have created the multiMap with the following code:</p>
  
  <pre><code>Multimap&lt;Integer,Country&gt; country=ArrayListMultimap.create();
  </code></pre>
  
  <p>My Class country is:</p>
  
  <pre><code>class Country {
      String country;
      int population;
  }
  </code></pre>
  
  <p>How can i retrieve all the object attributes from it:
  With HashMap i was using the following code:</p>
  
  <pre><code> for (Map.Entry p : country.entrySet()) {
      Country country=(Country)p.getValue();
      nameCountry=country.country;
      population=country.population;
   }
  </code></pre>