MCPcopy Create free account
hub / github.com/antlr/codebuff / weigh

Method weigh

corpus/java/training/guava/cache/Weigher.java:34–34  ·  view source on GitHub ↗

Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply relative to each other. @return the weight of the entry; must be non-negative

(K key, V value)

Source from the content-addressed store, hash-verified

32 * @return the weight of the entry; must be non-negative
33 */
34 int weigh(K key, V value);
35}

Callers 6

setValueMethod · 0.65
setValueMethod · 0.65
setValueMethod · 0.65
setValueMethod · 0.65
setValueMethod · 0.65
setValueMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected