| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the weight of the entry; must be non-negativeReturns the weight of a cache entry. |
| weigh | back to summary |
|---|---|
| public 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.
| |