ListValuedMap<String,String> listValuedMap = new ArrayListValuedHashMap(); listValuedMap.put("United States", "Washington"); listValuedMap.put("Canada", "Ottawa"); listValuedMap.put("Canada", "Ottawa"); listValuedMap.put("South Africa", "Pretoria"); listValuedMap.put("South Africa", "Cape Town"); listValuedMap.put("South Africa", "Bloemfontein"); listValuedMap.entries().forEach(System.out::println);