A class that can determine the weight of a value. The total weight threshold is used to determine when an eviction is required.
| Type Params | Return Type | Name and description | 
|---|---|---|
 | 
                            int | 
                            weightOf(V value)Measures an object's weight to determine how many units of capacity that the value consumes.  |