maidh91 / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

Add Maps.newXxxMap(Map.Entry<K,V>... entries) & overload for Iterable<Map.Entry<K,V>> #385

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
There is a convenience method in Maps to create an immutable Map.Entry, which 
is useful for storing a tuple of values. But if you have a collection of 
Map.Entry values, there is no convenient way to collect them into a Map.

Original issue reported on code.google.com by nat.pr...@gmail.com on 20 Jul 2010 at 10:41

GoogleCodeExporter commented 9 years ago
This is a duplicate of Issue 320

It is also mentioned in the IdeaGraveyard wiki page

Original comment by fin...@gmail.com on 24 Jul 2010 at 10:59

GoogleCodeExporter commented 9 years ago

Original comment by fry@google.com on 28 Jan 2011 at 4:52

GoogleCodeExporter commented 9 years ago
Despite the graveyard, I think the specific API requested in issue 320 has a 
chance. The rest described here, probably not; too much API explosion for too 
narrow usefulness.

Original comment by kevin...@gmail.com on 28 Jan 2011 at 9:15

GoogleCodeExporter commented 9 years ago
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:15

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:09