Returns true if this map maps one or more keys to the specified value. More formally, returns true if and only if this map contains at least one mapping to a value v such that (value==null ? v==null : value.equals(v)) . This operation will probably require time l
(Object value)
| 164 | * @since JDK1.2 |
| 165 | */ |
| 166 | @Override |
| 167 | public boolean containsValue(Object value) { |
| 168 | return (value==null ? valueSearchNull(root) |
| 169 | : valueSearchNonNull(root, value)); |
| 170 | } |
| 171 | |
| 172 | private boolean valueSearchNull(Entry<K,V> n) { |
| 173 | if (n.value == null) |
no test coverage detected