public interface Weigher<V>
Modifier and Type | Method | 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 weighCopyright © 2018 Microsoft Corporation. All rights reserved.