Guava: Google Core Libraries for Java 13.0.1.redhat-2
- SUMMARY:
- NESTED |
- FIELD |
- CONSTR |
- METHOD
- DETAIL:
- FIELD |
- CONSTR |
- METHOD
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
int |
weigh(K key,
V value)
Returns the weight of a cache entry.
|
-
-
Method Detail
-
weigh
int weigh(K key,
V value)
Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
relative to each other.
- Returns:
- the weight of the entry; must be non-negative
Guava: Google Core Libraries for Java 13.0.1.redhat-2
- SUMMARY:
- NESTED |
- FIELD |
- CONSTR |
- METHOD
- DETAIL:
- FIELD |
- CONSTR |
- METHOD
Copyright © 2010-2014. All Rights Reserved.