| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the entry's weightthe key to weigh key, V the value to weigh value)Measures an entry's weight to determine how many units of capacity that the key and value consumes. |
| weightOf | back to summary |
|---|---|
| public int weightOf(K key, V value) Measures an entry's weight to determine how many units of capacity that the key and value consumes. An entry must consume a minimum of one unit.
| |