K
- 键类型V
- 值类型public interface EntryWeigher<K,V>
Modifier and Type | Method and Description |
---|---|
int |
weightOf(K key,
V value)
Measures an entry's selector to determine how many units of capacity that
the key and value consumes.
|
Copyright © 2025. All rights reserved.