(@Nullable Object o)
| 4190 | } |
| 4191 | |
| 4192 | @Override |
| 4193 | public boolean remove(@Nullable Object o) { |
| 4194 | /* |
| 4195 | * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our |
| 4196 | * nullness checker. |
| 4197 | */ |
| 4198 | if (contains(o) && o instanceof Entry) { |
| 4199 | Entry<?, ?> entry = (Entry<?, ?>) o; |
| 4200 | return map().keySet().remove(entry.getKey()); |
| 4201 | } |
| 4202 | return false; |
| 4203 | } |
| 4204 | |
| 4205 | @Override |
| 4206 | public boolean removeAll(Collection<?> c) { |