yangxu998 / guava-libraries

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

ForwardingMap.get() - wrong signature? #663

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The signature currently is 
    public V get(Object key)

I believe it should be
    public V get(K key)

If this is not possible, please consider fixing HashBiMap, at least.
If it's by design, consider noting it in the JavaDoc - it's certainly odd.

Original issue reported on code.google.com by esta...@comcast.net on 15 Jul 2011 at 3:22

GoogleCodeExporter commented 9 years ago
This is the signature of Map.get().

Original comment by cgdec...@gmail.com on 15 Jul 2011 at 4:20

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