MCPcopy
hub / github.com/google/guava / asMap

Method asMap

android/guava/src/com/google/common/cache/Cache.java:181–181  ·  view source on GitHub ↗

Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to the map directly affect the cache. <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for concurrent use, but if the cache is modified (including by eviction) after th

()

Source from the content-addressed store, hash-verified

179 * Guava to fix them until Guava is ready to <i>require</i> Java 8 for all users.
180 */
181 ConcurrentMap<K, V> asMap();
182
183 /**
184 * Performs any pending maintenance operations needed by the cache. Exactly which activities are

Callers 15

asMapMethod · 0.65
asMapMethod · 0.65
copyOfMethod · 0.65
subMapMethod · 0.65
headMapMethod · 0.65
tailMapMethod · 0.65
subMapMethod · 0.65
headMapMethod · 0.65
tailMapMethod · 0.65
descendingMapMethod · 0.65
asMapMethod · 0.65
containsKeyMethod · 0.65

Implementers 4

LocalManualCacheguava/src/com/google/common/cache/Loca
ForwardingCacheguava/src/com/google/common/cache/Forw
LocalManualCacheandroid/guava/src/com/google/common/ca
ForwardingCacheandroid/guava/src/com/google/common/ca

Calls

no outgoing calls

Tested by 15

testClearMethod · 0.52
testInvalidateMethod · 0.52
testGetIfPresentMethod · 0.52
testAutoRefreshMethod · 0.52
checkEmptyMethod · 0.52
testBulkLoad_extraMethod · 0.52
testBulkLoad_clobberMethod · 0.52
testBulkLoad_partialMethod · 0.52