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