ACMNexus / google-collections

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

make AbstractMapEntry public #161

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
From mailgroup discussion:
http://groups.google.com/group/google-collections-users/browse_thread/thread/8ec
f2ef59a11870e

The release notes for RC1 say

AbstractMapEntry. Most usages of this can be replaced with
java.util.AbstractMap.SimpleEntry/SimpleImmutableEntry provided their keys
and values are directly stored in the Entry instance.

Is there a reason why this was removed, other than being superfluous for
the use cases where you can use the SimpleEntry? I have a use case for
which the entries read through to an array; the entry is essentially just
an index into the array. It would be clean not to have to re-implement
(copy from elsewhere) hashCode and equals.

Thanks,
Joe

Original issue reported on code.google.com by joe.kear...@gtempaccount.com on 7 May 2009 at 1:22

GoogleCodeExporter commented 8 years ago

Original comment by kevin...@gmail.com on 17 Sep 2009 at 5:57

GoogleCodeExporter commented 8 years ago

Original comment by kevin...@gmail.com on 17 Sep 2009 at 6:02

GoogleCodeExporter commented 8 years ago
This issue has been moved to the Guava project (keeping the same id number). 
Simply replace 'google-collections' with 'guava-libraries' in your address 
bar and it should take you there.

Original comment by kevinb@google.com on 5 Jan 2010 at 11:09