V - The value typepublic interface Weigher<V>
| Modifier and Type | Method and Description |
|---|---|
int |
weightOf(V value)
Measures an object's weight to determine how many units of capacity that
the value consumes.
|
int weightOf(V value)
value - the object to weigh