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