Closed GoogleCodeExporter closed 9 years ago
Today:
Map<String, Integer> result = new HashMap<>();
for(String element: multiset.elementSet()) {
result.put(element, multiset.count(element));
}
// return ImmutableMap.copyOf(result); ?
Tomorrow?
AtomicLongMap<String> result = AtomicLongMap.create();
result.incrementAll(multiset);
// return ImmutableMap.copyOf(result.asMap()); ?
Original comment by kevinb@google.com
on 20 Feb 2014 at 4:36
This issue has been migrated to GitHub.
It can be found at https://github.com/google/guava/issues/<id>
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:09
Original comment by cgdecker@google.com
on 1 Nov 2014 at 4:17
Original comment by cgdecker@google.com
on 3 Nov 2014 at 9:07
Original issue reported on code.google.com by
kevinb@google.com
on 20 Feb 2014 at 4:34