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

Method hash

guava/src/com/google/common/cache/LocalCache.java:1728–1731  ·  guava/src/com/google/common/cache/LocalCache.java::LocalCache.hash
(@Nullable Object key)

Source from the content-addressed store, hash-verified

1726 }
1727
1728 int hash(@Nullable Object key) {
1729 int h = keyEquivalence.hash(key);
1730 return rehash(h);
1731 }
1732
1733 void reclaimValue(ValueReference<K, V> valueReference) {
1734 ReferenceEntry<K, V> entry = valueReference.getEntry();

Callers 11

getMethod · 0.95
getIfPresentMethod · 0.95
getEntryMethod · 0.95
refreshMethod · 0.95
containsKeyMethod · 0.95
putMethod · 0.95
putIfAbsentMethod · 0.95
computeMethod · 0.95
removeMethod · 0.95
replaceMethod · 0.95
setUpMethod · 0.95

Calls 2

rehashMethod · 0.95
hashMethod · 0.65

Tested by 1

setUpMethod · 0.76