K
- The key typeV
- The value type@ThreadSafe public interface EntryWeigher<K,V>
Modifier and Type | Method and Description |
---|---|
int |
weightOf(K key,
V value)
Measures an entry's weight to determine how many units of capacity that
the key and value consumes.
|