mkodekar / guava-libraries

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

AbstractLoadingCache missing get(Object, Callable) #1871

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
AbstractLoadingCache says:
"To implement a cache, the programmer needs only to extend this class and 
provide an implementation for the #get(Object) and #getIfPresent methods. 
#getUnchecked, #get(Object, Callable), and #getAll are implemented in terms of 
get"

But this is simply not true; get(Object, Callable) is not defined in 
AbstractLoadingCache, and in AbstractCache it throws 
UnsupportedOperationException.

Original issue reported on code.google.com by dborowitz@google.com on 23 Oct 2014 at 7:32

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<issue id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:08

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:17

GoogleCodeExporter commented 9 years ago

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