An admittedly inefficient implementation of Map#containsKey.
(Map<?, ?> map, @Nullable Object key)
| 3575 | |
| 3576 | |
| 3577 | static boolean containsKeyImpl(Map<?, ?> map, @Nullable Object key) { |
| 3578 | return Iterators.contains(keyIterator(map.entrySet().iterator()), key); |
| 3579 | } |
| 3580 | |
| 3581 | /** |
| 3582 | * An implementation of {@link Map#containsValue}. |
no test coverage detected